Anklang-0.3.0.dev595+g65331842 anklang-0.3.0.dev595+g65331842
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
logging.cc File Reference
#include "logging.hh"
#include "platform.hh"
#include "path.hh"
#include "strings.hh"
#include "regex.hh"
#include <fcntl.h>
#include <cstdarg>
#include <cstring>
#include <execinfo.h>
#include "internal.hh"
#include <cassert>

Go to the source code of this file.

Classes

struct  Ase::StartupStats
 

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 

Functions

void Ase::stdio_flush (uint8 code, const String &txt) noexcept
 Handle stdout and stderr printing with flushing.
 
uint64_t Ase::timestamp_now ()
 Current time in µseconds.
 
const charAse::rfind_debug_value (const char *kvlist, const char *key, const char *fallback)
 
bool Ase::logging_configure (bool to_file, Logging level)
 
const charAse::getenv_ase_debug ()
 
bool Ase::debug_key_enabled (const char *conditional) noexcept
 Check if conditional is enabled by $ASE_DEBUG.
 
::std::string Ase::debug_key_value (const char *conditional)
 Retrieve the value assigned to debug key conditional in $ASE_DEBUG.
 
void Ase::logging_handle_terminate ()
 
void Ase::logging (Logging level, const std::string &message, const char *file, uint32_t line, const char *func) noexcept
 
void Ase::logging_debug (const char *cond, const std::string &message) noexcept
 Print a debug/diag message, called from Ase::debug().
 
void Ase::logging_abort (Logging level, const std::string &message, const char *file, uint32_t line, const char *func) noexcept
 

Variables

bool Ase::ase_debugging_enabled
 Flag to optimize checks for debugging.
 
bool Ase::logging_fatal_warnings
 Global flag to cause the program to abort on warnings.
 

Class Documentation

◆ Ase::StartupStats

struct Ase::StartupStats

Definition at line 70 of file logging.cc.

Class Members
uint64_t timestamp