Flecs: include/flecs/addons/cpp/log.hpp File Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 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 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 (const char *fmt,...)
| Debug trace (level 1).
void | flecs::log::trace (const char *fmt,...)
| Trace (level 0).
void | flecs::log::warn (const char *fmt,...)
| Warning (level -2).
void | flecs::log::err (const char *fmt,...)
| Error (level -3).
void | flecs::log::push (const char *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.