Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
A class for wrapping multilog_t instances required for logging with the underlying DADA API. More...
#include <cheetah/psrdada/detail/MultiLog.h>
Public Member Functions | |
MultiLog (std::string name) | |
Create a new instance. More... | |
MultiLog (MultiLog const &)=delete | |
multilog_t * | native_handle () |
Get a native handle to the wrapped multilog_t pointer. | |
template<class... Args> | |
void | write (int priority, const char *format, Args &&... args) |
Write to the log. More... | |
std::string const & | name () const |
Return the name of the logger. | |
A class for wrapping multilog_t instances required for logging with the underlying DADA API.
Definition at line 40 of file MultiLog.h.
|
explicit |
Create a new instance.
[in] | name | The name to give this logger |
Definition at line 32 of file MultiLog.cpp.
void ska::cheetah::psrdada::detail::MultiLog::write | ( | int | priority, |
const char * | format, | ||
Args &&... | args | ||
) |
Write to the log.
[in] | priority | The priority (0, 1, 2...) |
[in] | format | The format string |
[in] | ... | Parameters for the format string |
Args | The types of the parameters for the format string |
Definition at line 34 of file MultiLog.cpp.