iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
log.hpp File Reference
#include "iox2/log_level.hpp"

Go to the source code of this file.

Classes

class  iox2::Log
 

Namespaces

namespace  iox2
 

Functions

void iox2::log (LogLevel log_level, const char *origin, const char *message)
 Adds a log message to the logger.
 
auto iox2::use_console_logger () -> bool
 Sets the console logger as default logger. Returns true if the logger was set, otherwise false.
 
auto iox2::use_file_logger (const char *log_file) -> bool
 Sets the file logger as default logger. Returns true if the logger was set, otherwise false.
 
auto iox2::set_logger (Log &logger) -> bool
 
auto iox2::set_log_level_from_env_or_default () -> void
 
auto iox2::set_log_level_from_env_or (LogLevel level) -> void
 
auto iox2::set_log_level (LogLevel level) -> void
 
auto iox2::get_log_level () -> LogLevel
 Returns the current global log level of the application.