file
logging.hhNamespaces
- namespace Ase
- The Anklang C++ API namespace.
Classes
- struct Ase::LogFormat
- Wrap a string together with its source code location.
Enums
- enum LogFlags { LOG_FILE = 1, LOG_STDERR = 2, LOG_LOCATIONS = 4 }
- Flags to configure logging behaviour.
Functions
-
template <class... A>void log(const LogFormat& format, const A&... args)
- Write a log message to the log file (or possibly stderr), using the POSIX/C locale.
- auto log_setup(int*) → LogFlags
- Configurable handler to open log files.
- auto timestamp_now() → uint64_t
- Current time in µseconds.