pianod2
multisource multiuser scriptable networked music player
Functions | Variables
logging.cpp File Reference

Debug/event logging implementation. More...

#include <config.h>
#include "logging.h"
Include dependency graph for logging.cpp:

Functions

void set_logging (LogType logtype)
 Set the logging selections. More...
 
LogType get_logging ()
 
void flog_timestamp ()
 Logging helper subroutine to format and emit the time. More...
 

Variables

LogType flogging_level = Log::WARNING
 
bool flog_include_timestamp = true
 

Detailed Description

Debug/event logging implementation.

Function Documentation

◆ flog_timestamp()

void flog_timestamp ( )
private

Logging helper subroutine to format and emit the time.

Here is the caller graph for this function:

◆ get_logging()

LogType get_logging ( )
Here is the caller graph for this function:

◆ set_logging()

void set_logging ( LogType  logtype)

Set the logging selections.

Parameters
logtypeA bitfield indicating what events to log.
Here is the caller graph for this function:

Variable Documentation

◆ flog_include_timestamp

bool flog_include_timestamp = true

◆ flogging_level

LogType flogging_level = Log::WARNING