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 23
23
// * passing a logger around using a `Logger& logger` function parameter
24
24
// They are created with a name that appears in the logs and can be used to filter debug levels (see
25
25
// `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.
31
26
#define LOG_CRITICAL (...) LOG_WITH_LEVEL(critical, __VA_ARGS__)
32
27
#define LOG_ERROR (...) LOG_WITH_LEVEL(error, __VA_ARGS__)
33
28
#define LOG_WARNING (...) LOG_WITH_LEVEL(warning, __VA_ARGS__)
You can’t perform that action at this time.
0 commit comments