mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-23 16:29:26 +08:00
Update example.cpp
This commit is contained in:
parent
4fefd51e08
commit
c211288576
@ -272,7 +272,7 @@ struct fmt_lib::formatter<my_type> : fmt_lib::formatter<std::string>
|
|||||||
|
|
||||||
void user_defined_example()
|
void user_defined_example()
|
||||||
{
|
{
|
||||||
spdlog::info("user defined type: {}", my_type{14});
|
spdlog::info("user defined type: {}", my_type(14));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Custom error handler. Will be triggered on log failure.
|
// Custom error handler. Will be triggered on log failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user