File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 2323// * passing a logger around using a `Logger& logger` function parameter
2424// They are created with a name that appears in the logs and can be used to filter debug levels (see
2525// `Logger`).
26- // If the first argument after the format is a SwiftDiagnosticSource or
27- // SwiftDiagnosticSourceWithLocation, a JSON diagnostic entry is emitted. In this case the
28- // format string **must** start with "[{}] " (which is checked at compile time), and everything
29- // following that is used to form the message in the diagnostics using fmt::format instead of the
30- // internal binlog formatting. The two are fairly compatible though.
3126#define LOG_CRITICAL (...) LOG_WITH_LEVEL(critical, __VA_ARGS__)
3227#define LOG_ERROR (...) LOG_WITH_LEVEL(error, __VA_ARGS__)
3328#define LOG_WARNING (...) LOG_WITH_LEVEL(warning, __VA_ARGS__)
You can’t perform that action at this time.
0 commit comments