A minimal logger implementation which outputs the log messages to the console.
More...
|
| | ConsoleLogger () noexcept=default |
| |
| virtual void | initLogger (const LogLevel) noexcept |
| |
| virtual void | createLogMessageHeader (const bb::detail::SourceLocation location, const LogLevel logLevel) noexcept |
| |
| virtual void | flush () noexcept |
| |
| LogBuffer | getLogBuffer () const noexcept |
| |
| void | assumeFlushed () noexcept |
| |
| void | logString (const char *message) noexcept |
| |
| void | logChar (const char value) noexcept |
| |
| void | logBool (const bool value) noexcept |
| |
| template<typename T , typename std::enable_if_t< std::is_arithmetic< T >::value, bool > = 0> |
| void | logDec (const T value) noexcept |
| |
| template<typename T , typename std::enable_if_t<(std::is_integral< T >::value &&std::is_unsigned< T >::value)||std::is_floating_point< T >::value||std::is_pointer< T >::value, bool > = 0> |
| void | logHex (const T value) noexcept |
| |
| template<typename T , typename std::enable_if_t< std::is_integral< T >::value &&std::is_unsigned< T >::value, bool > = 0> |
| void | logOct (const T value) noexcept |
| |
| template<typename T , typename std::enable_if_t< std::is_integral< T >::value &&std::is_unsigned< T >::value, bool > = 0> |
| void | logBin (const T value) noexcept |
| |
| void | logRaw (const void *const data, const uint64_t size) noexcept |
| |
A minimal logger implementation which outputs the log messages to the console.
Definition at line 30 of file console_logger.hpp.