ase/logging.hh file


Namespaces

namespace Ase
The Anklang C++ API namespace.

Functions

void log_setup(bool inf2stderr, bool log2file)
Open log file.
template <class... A>
auto logerr(const String& dept, const char* format, const A&... args) ASE_PRINTF(2 -> void void
Format and send a log message to the user, stderr and log file, using the POSIX/C locale.
template <class... A>
void logerr(const String& dept, const char* format, const A&... args)
Log error to stderr and logfile.
template <class... A>
void loginf(const char* format, const A&... args) ASE_PRINTF(1
Write a string_format() message to the log file (or possibly stderr), using the POSIX/C locale.
template <class... A>
void logtxt(const char* format, const A&... args)
Log text into logfile only.