mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Updated example
This commit is contained in:
parent
55fbc2c78e
commit
5ab487dbae
@ -172,6 +172,8 @@ void binary_example()
|
|||||||
// logger->info("uppercase: {:X}", spdlog::to_hex(buf));
|
// logger->info("uppercase: {:X}", spdlog::to_hex(buf));
|
||||||
// logger->info("uppercase, no delimiters: {:Xs}", spdlog::to_hex(buf));
|
// logger->info("uppercase, no delimiters: {:Xs}", spdlog::to_hex(buf));
|
||||||
// logger->info("uppercase, no delimiters, no position info: {:Xsp}", spdlog::to_hex(buf));
|
// logger->info("uppercase, no delimiters, no position info: {:Xsp}", spdlog::to_hex(buf));
|
||||||
|
// logger->info("hexdump style: {:a}", spdlog::to_hex(buf));
|
||||||
|
// logger->info("hexdump style, 20 chars per line {:a}", spdlog::to_hex(buf, 20));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compile time log levels.
|
// Compile time log levels.
|
||||||
|
Loading…
Reference in New Issue
Block a user