Skip to content
Flecs v4.1
log.hpp File Reference

Logging functions. More...

Go to the source code of this file.

Classes

struct  flecs::log::_::fmt_str

Functions

void flecs::log::set_level (int level)
 Set the log level.
int flecs::log::get_level ()
 Get the log level.
void flecs::log::enable_colors (bool enabled=true)
 Enable colors in logging.
void flecs::log::enable_timestamp (bool enabled=true)
 Enable timestamps in logging.
void flecs::log::enable_timedelta (bool enabled=true)
 Enable time delta in logging.
void flecs::log::dbg (_::fmt_str fmt,...)
 Debug trace (level 1).
void flecs::log::trace (_::fmt_str fmt,...)
 Trace (level 0).
void flecs::log::warn (_::fmt_str fmt,...)
 Warning (level -2).
void flecs::log::err (_::fmt_str fmt,...)
 Error (level -3).
void flecs::log::push (_::fmt_str fmt,...)
 Trace and increase log indentation.
void flecs::log::push ()
 Increase log indentation.
void flecs::log::pop ()
 Decrease log indentation.

Detailed Description

Logging functions.

Definition in file log.hpp.