|
openDAQ
Open data acquisition platform
|
Collaboration diagram for Logger component:Modules | |
| Factories | |
Functions | |
| daq::StringPtr | getName () const |
| Gets the name of the component. More... | |
| void | setLevel (daq::LogLevel level) const |
| Sets the minimal severity level of messages to be logged by the component. More... | |
| daq::LogLevel | getLevel () const |
| Gets the minimal severity level of messages to be logged by the component. More... | |
| void | logMessage (daq::SourceLocation location, daq::ConstCharPtr msg, daq::LogLevel level) const |
| Logs a message with the provided source location and severity level. More... | |
| void | setPattern (const daq::StringPtr &pattern) const |
| Sets the custom formatter pattern for the component. More... | |
| daq::Bool | shouldLog (daq::LogLevel level) const |
| Checks whether the messages with given log severity level will be logged or not. More... | |
| void | flush () const |
| Triggers writing out the messages stored in temporary buffers. | |
| void | flushOnLevel (daq::LogLevel level) const |
| Sets the minimum severity level of messages to be automatically written to the associated sinks bypassing the temporary buffers. More... | |
|
inline |
Sets the minimum severity level of messages to be automatically written to the associated sinks bypassing the temporary buffers.
| level | The severity level of messages. |
|
inline |
Gets the minimal severity level of messages to be logged by the component.
|
inline |
Gets the name of the component.
|
inline |
Logs a message with the provided source location and severity level.
| location | The source location. |
| msg | The message. |
| level | The severity level of the message. |
|
inline |
Sets the minimal severity level of messages to be logged by the component.
| level | The log severity level of the component. |
|
inline |
Sets the custom formatter pattern for the component.
| pattern | The format pattern string. |
|
inline |
Checks whether the messages with given log severity level will be logged or not.
| level | The severity level of messages. |
level will be logged within the component; false otherwise.