Collaboration diagram for Logger:Modules | |
| Factories | |
Classes | |
| struct | ILogger |
| Represents a collection of Logger Components with multiple Logger Sinks and a single Logger Thread Pool shared between components. More... | |
| class | LoggerPtr |
| Represents a collection of Logger Components with multiple Logger Sinks and a single Logger Thread Pool shared between components. More... | |
Functions | |
| void | setLevel (daq::LogLevel level) const |
| Sets the default log severity level. More... | |
| daq::LogLevel | getLevel () const |
| Gets the default log severity level. More... | |
| daq::LoggerComponentPtr | getOrAddComponent (const daq::StringPtr &name) const |
| Gets an added component by name or creates a new one with a given name and adds it to the Logger object. More... | |
| daq::LoggerComponentPtr | addComponent (const daq::StringPtr &name) const |
| Creates a component with a given name and adds it to the Logger object. More... | |
| void | removeComponent (const daq::StringPtr &name) const |
| Removes the component with a given name from the Logger object. More... | |
| daq::ListPtr< daq::ILoggerComponent > | getComponents () const |
| Gets a list of added components. More... | |
| daq::LoggerComponentPtr | getComponent (const daq::StringPtr &name) const |
| Gets an added component by name. More... | |
| void | flush () const |
| Triggers writing out the messages stored in temporary buffers for added components and sinks associated with the Logger object. | |
| void | flushOnLevel (daq::LogLevel level) const |
| Sets the minimum severity level of messages to be automatically flushed by components of Logger object. More... | |
|
inline |
Creates a component with a given name and adds it to the Logger object.
| name | The component's name. |
| InvalidParameterException | if name is empty string. |
|
inline |
Sets the minimum severity level of messages to be automatically flushed by components of Logger object.
| level | The log severity level. |
|
inline |
Gets an added component by name.
| name | The component's name. |
name. | NotFoundException | if a component with the specified name was not added. |
|
inline |
Gets a list of added components.
|
inline |
Gets the default log severity level.
|
inline |
Gets an added component by name or creates a new one with a given name and adds it to the Logger object.
| name | The component's name. |
name. | InvalidParameterException | if name is empty string. |
|
inline |
Removes the component with a given name from the Logger object.
| name | The component's name. |
| NotFoundException | if a component with the specified name was not added. |
|
inline |
Sets the default log severity level.
| level | The log severity level. |