Basic formatting
spdlog's format strings are fmt's format strings — the same {} mini-language, with the same
spdlog's format strings are fmt's format strings — the same {} mini-language, with the same
C++ syntax defines how code is written and structured. Understanding basic syntax is essential for writing valid C++ programs.
Construction is where the library's convenience is loudest — you can build a document out of
A format string is a template with holes in it. Everything else in fmt — the spec grammar, custom
Levels aren't one filter, they're two: a runtime one that lives per logger (and optionally per sink),
Parsing is the boundary between untrusted text and typed data. Every way into a json value from
Positional and named arguments exist for the same reason: the order of the holes in a format string
The default logger exists so that adding logging to a program is one include and one call. Everything
One formatting engine, several entry points that differ only in where the characters land — pick
json is one C++ type that behaves like several types at runtime — a tagged union with container