Collaboration diagram for Factories:Functions | |
| LoggerComponentPtr | LoggerComponent (const StringPtr &name, ListPtr< ILoggerSink > sinks=DefaultSinks(), const LoggerThreadPoolPtr &threadPool=LoggerThreadPool(), LogLevel level=LogLevel(OPENDAQ_LOG_LEVEL)) |
| Creates a Logger component object with a given name, sinks, thread pool and log severity level. More... | |
|
inline |
Creates a Logger component object with a given name, sinks, thread pool and log severity level.
| name | The name of the component. |
| sinks | The list of Sink objects. List members are of type ILoggerSink. |
| threadPool | The Thread pool object. |
| level | The minimal severity level of message to log by the component. |