Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
log.hpp File Reference

Logging functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void flecs::log::set_level (int level)
 Set log level.
 
int flecs::log::get_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 (const char *fmt,...)
 Debug trace (level 1)
 
void flecs::log::trace (const char *fmt,...)
 Trace (level 0)
 
void flecs::log::warn (const char *fmt,...)
 Trace (level -2)
 
void flecs::log::err (const char *fmt,...)
 Trace (level -3)
 
void flecs::log::push (const char *fmt,...)
 Increase log indentation.
 
void flecs::log::push ()
 Increase log indentation.
 
void flecs::log::pop ()
 Increase log indentation.
 

Detailed Description

Logging functions.

Definition in file log.hpp.