C++ YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
logs.cpp File Reference
#include <string>
#include "yasmin/logs.hpp"
Include dependency graph for logs.cpp:

Namespaces

namespace  yasmin
 

Functions

void yasmin::default_log_message (LogLevel level, const char *file, const char *function, int line, const char *text)
 Default logging function.
 
void yasmin::set_log_level (LogLevel level)
 Sets the log level for the logs.
 
const char * yasmin::log_level_to_name (LogLevel level)
 Parse LogLevel to string.
 
void yasmin::set_loggers (LogFunction log_message)
 Sets custom logging functions for different log levels.
 
void yasmin::set_default_loggers ()
 Sets the default logging function for all log levels.