All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ILoggerFactory.h
Go to the documentation of this file.
1 
2 #ifndef LOG_I_LOGGER_FACTORY_HPP
3 #define LOG_I_LOGGER_FACTORY_HPP
4 
5 #include <Log/ILogger.h>
6 
7 
8 namespace GENICAM_NAMESPACE
9 {
11  {
12  public:
13  virtual ~ILoggerFactory() {};
14  virtual gcstring GetLoggerFactoryName() = 0;
15 
16  // Configure the logger
17  // The existing configuration is not cleared or reset
18  // Do not remove Loggers when reconfiguring
19  // Appenders can be removed
20  virtual void ConfigureFromString(gcstring configString) = 0;
21  virtual void ConfigureDefault() = 0;
22 
23  // Logger pointer for a particular logger shall not change during runtime
24  virtual ILogger* GetLogger(gcstring name) = 0;
25  virtual bool Exist(gcstring name) = 0;
26  virtual void PushIndent() = 0;
27  virtual void PopIndent() = 0;
28  };
29 }
30 
31 #endif
GENICAM_NAMESPACE::ILoggerFactory
Definition: ILoggerFactory.h:10
GENICAM_NAMESPACE::ILoggerFactory::Exist
virtual bool Exist(gcstring name)=0
GENICAM_NAMESPACE::ILoggerFactory::GetLoggerFactoryName
virtual gcstring GetLoggerFactoryName()=0
GENICAM_NAMESPACE
Definition: GCArray.h:32
GENICAM_NAMESPACE::gcstring
A string class which is a clone of std::string.
Definition: GCString.h:52
GENICAM_NAMESPACE::ILogger
Definition: ILogger.h:11
GENICAM_NAMESPACE::ILoggerFactory::PushIndent
virtual void PushIndent()=0
GENICAM_NAMESPACE::ILoggerFactory::~ILoggerFactory
virtual ~ILoggerFactory()
Definition: ILoggerFactory.h:13
GENICAM_NAMESPACE::ILoggerFactory::PopIndent
virtual void PopIndent()=0
GENICAM_NAMESPACE::ILoggerFactory::GetLogger
virtual ILogger * GetLogger(gcstring name)=0
GENICAM_NAMESPACE::ILoggerFactory::ConfigureDefault
virtual void ConfigureDefault()=0
GENICAM_NAMESPACE::ILoggerFactory::ConfigureFromString
virtual void ConfigureFromString(gcstring configString)=0
ILogger.h


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11