Ring Daemon 16.0.0
|
Go to the source code of this file.
Classes | |
class | jami::ConsoleLog |
class | jami::FileLog |
class | jami::Logger::Handler |
class | jami::MonitorLog |
struct | jami::Logger::Msg |
class | jami::SysLog |
Namespaces | |
namespace | jami |
Macros | |
#define | CYAN "\033[22;36m" |
#define | END_COLOR "\033[0m" |
#define | LOGFILE "jami" |
#define | RED "\033[22;31m" |
#define | YELLOW "\033[01;33m" |
Functions | |
static const char * | jami::check_error (char *result, char *) |
static const char * | jami::check_error (int result, char *buffer) |
std::string | jami::formatHeader (const char *const file, int line) |
std::string | jami::formatPrintfArgs (const char *format, va_list ap) |
template<typename T > | |
void | jami::log_to_if_enabled (T &handler, Logger::Msg &msg) |
void | jami::strErr () |
Thread-safe function to print the stringified contents of errno. | |
static const char * | jami::stripDirName (const char *path) |
Variables | |
static std::atomic_bool | jami::debugEnabled_ {false} |
static constexpr auto | jami::ENDL = '\n' |
#define CYAN "\033[22;36m" |
Definition at line 66 of file logger.cpp.
#define END_COLOR "\033[0m" |
Definition at line 61 of file logger.cpp.
#define LOGFILE "jami" |
Definition at line 75 of file logger.cpp.
#define RED "\033[22;31m" |
Definition at line 64 of file logger.cpp.
#define YELLOW "\033[01;33m" |
Definition at line 65 of file logger.cpp.