logger for logging messages to stdout on the console
More...
|
| static std::shared_ptr< spdlog::logger > | get (const std::string &p_tag) |
| | retrieves that specific logger if it has been constructed
|
| |
logger for logging messages to stdout on the console
Manages the logger instances and patterns for setting up with the loggers when writing logs
◆ console_log_manager()
| atlas::console_log_manager::console_log_manager |
( |
const std::string & |
p_pattern = "%^[%n] [%T]: %v%$" | ) |
|
|
inlineexport |
- Note
- Setting up logs for different log stdout's
-
Logs for p_tag is logs specific to the game.
◆ get()
| static std::shared_ptr< spdlog::logger > atlas::console_log_manager::get |
( |
const std::string & |
p_tag | ) |
|
|
inlinestaticexport |
retrieves that specific logger if it has been constructed
- Returns
- ref<spdlog::logger> if found, otherwise return nullptr
TODO: Should have this throw an exception rather then returning nullptr
The documentation for this class was generated from the following file:
- TheAtlasEngine/atlas/core/logger.cppm