diff options
| author | Rutger Broekhoff | 2026-08-28 22:17:10 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-08-28 22:17:10 +0200 |
| commit | 70643a9e4821bd11c3f363f1708fe420965467d1 (patch) | |
| tree | 65572b58e247248846628940a2aaca197a15d784 /server/src/log.cppm | |
| parent | 173cd34bdd0717d3f4beeac76b3296ecd46ada0d (diff) | |
| download | routemon-70643a9e4821bd11c3f363f1708fe420965467d1.tar.gz routemon-70643a9e4821bd11c3f363f1708fe420965467d1.zip | |
Format again
Diffstat (limited to 'server/src/log.cppm')
| -rw-r--r-- | server/src/log.cppm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/server/src/log.cppm b/server/src/log.cppm index 0bfdf7d..7c42144 100644 --- a/server/src/log.cppm +++ b/server/src/log.cppm | |||
| @@ -97,12 +97,12 @@ export class logger | |||
| 97 | { | 97 | { |
| 98 | if (sink_->level() <= lvl) | 98 | if (sink_->level() <= lvl) |
| 99 | sink_->write( | 99 | sink_->write( |
| 100 | sink::tmp_message{ | 100 | sink::tmp_message{ |
| 101 | .lvl = lvl, | 101 | .lvl = lvl, |
| 102 | .component = component_, | 102 | .component = component_, |
| 103 | .txt = std::vformat(fmt, args), | 103 | .txt = std::vformat(fmt, args), |
| 104 | .attrs = attrs_, | 104 | .attrs = attrs_, |
| 105 | }); | 105 | }); |
| 106 | return *this; | 106 | return *this; |
| 107 | } | 107 | } |
| 108 | 108 | ||
| @@ -138,7 +138,7 @@ public: | |||
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | [[nodiscard]] auto with(std::string const& k, std::string_view v) const | 140 | [[nodiscard]] auto with(std::string const& k, std::string_view v) const |
| 141 | -> logger | 141 | -> logger |
| 142 | { | 142 | { |
| 143 | return with(k, std::string{v}); | 143 | return with(k, std::string{v}); |
| 144 | } | 144 | } |