very basic questions .. #1857
iamhyunsoo
started this conversation in
General
Replies: 1 comment 1 reply
-
Example: auto logger = spdlog::basic_logger_mt("basic_logger", "logs/basic-log.txt");
logger->trace("trace log."); // trace level logging.
logger->debug("Debug log."); // debug level logging.
logger->info("Info log"); // info level logging.
logger->warn("Warn log."); // warn level logging.
logger->error("Error log."); // error level logging.
logger->critical("Critical log."); // critical level logging. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After basic_logger is made, which function should be called to write stuff in the text file?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions