HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
|
A logger with supporting basic functionality. More...
#include <H5Utility.hpp>
Public Types | |
using | callback_type |
Public Member Functions | |
Logger ()=delete | |
Logger (const Logger &)=delete | |
Logger (Logger &&)=delete | |
Logger (callback_type cb) | |
Logger & | operator= (const Logger &)=delete |
Logger & | operator= (Logger &&)=delete |
void | log (LogSeverity severity, const std::string &message, const std::string &file, int line) |
void | set_logging_callback (callback_type cb) |
A logger with supporting basic functionality.
This logger delegates the logging task to a callback. This level of indirection enables using the default Python logger from C++; or integrating HighFive into some custom logging solution.
Using this class directly to log is not intended. Rather you should use
HIGHFIVE_LOG_DEBUG{,_IF}
HIGHFIVE_LOG_INFO{,_IF}
HIGHFIVE_LOG_WARNING{,_IF}
HIGHFIVE_LOG_ERROR{,_IF}
This is intended to used as a singleton, via get_global_logger()
.
|
delete |
|
delete |
|
delete |
|
inlineexplicit |
|
inline |
|
inline |