@@ -47,11 +47,11 @@ extension Logger {
47
47
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
48
48
/// - metadata: One-off metadata to attach to this log message
49
49
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
50
- /// defaults to `#file`.
50
+ /// defaults to `#file`) .
51
51
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
52
- /// it defaults to `#file` .
52
+ /// it defaults to `#function`) .
53
53
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
54
- /// defaults to `#line`.
54
+ /// defaults to `#line`) .
55
55
@inlinable
56
56
public func log( level: Logger . Level ,
57
57
_ message: @autoclosure ( ) -> Logger . Message ,
@@ -107,11 +107,11 @@ extension Logger {
107
107
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
108
108
/// - metadata: One-off metadata to attach to this log message
109
109
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
110
- /// defaults to `#file`.
110
+ /// defaults to `#file`) .
111
111
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
112
- /// it defaults to `#file` .
112
+ /// it defaults to `#function`) .
113
113
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
114
- /// defaults to `#line`.
114
+ /// defaults to `#line`) .
115
115
@inlinable
116
116
public func trace( _ message: @autoclosure ( ) -> Logger . Message ,
117
117
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -129,11 +129,11 @@ extension Logger {
129
129
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
130
130
/// - metadata: One-off metadata to attach to this log message
131
131
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
132
- /// defaults to `#file`.
132
+ /// defaults to `#file`) .
133
133
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
134
- /// it defaults to `#file` .
134
+ /// it defaults to `#function`) .
135
135
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
136
- /// defaults to `#line`.
136
+ /// defaults to `#line`) .
137
137
@inlinable
138
138
public func debug( _ message: @autoclosure ( ) -> Logger . Message ,
139
139
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -151,11 +151,11 @@ extension Logger {
151
151
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
152
152
/// - metadata: One-off metadata to attach to this log message
153
153
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
154
- /// defaults to `#file`.
154
+ /// defaults to `#file`) .
155
155
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
156
- /// it defaults to `#file` .
156
+ /// it defaults to `#function`) .
157
157
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
158
- /// defaults to `#line`.
158
+ /// defaults to `#line`) .
159
159
@inlinable
160
160
public func info( _ message: @autoclosure ( ) -> Logger . Message ,
161
161
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -173,11 +173,11 @@ extension Logger {
173
173
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
174
174
/// - metadata: One-off metadata to attach to this log message
175
175
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
176
- /// defaults to `#file`.
176
+ /// defaults to `#file`) .
177
177
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
178
- /// it defaults to `#file` .
178
+ /// it defaults to `#function`) .
179
179
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
180
- /// defaults to `#line`.
180
+ /// defaults to `#line`) .
181
181
@inlinable
182
182
public func notice( _ message: @autoclosure ( ) -> Logger . Message ,
183
183
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -195,11 +195,11 @@ extension Logger {
195
195
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
196
196
/// - metadata: One-off metadata to attach to this log message
197
197
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
198
- /// defaults to `#file`.
198
+ /// defaults to `#file`) .
199
199
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
200
- /// it defaults to `#file` .
200
+ /// it defaults to `#function`) .
201
201
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
202
- /// defaults to `#line`.
202
+ /// defaults to `#line`) .
203
203
@inlinable
204
204
public func warning( _ message: @autoclosure ( ) -> Logger . Message ,
205
205
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -217,11 +217,11 @@ extension Logger {
217
217
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
218
218
/// - metadata: One-off metadata to attach to this log message
219
219
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
220
- /// defaults to `#file`.
220
+ /// defaults to `#file`) .
221
221
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
222
- /// it defaults to `#file` .
222
+ /// it defaults to `#function`) .
223
223
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
224
- /// defaults to `#line`.
224
+ /// defaults to `#line`) .
225
225
@inlinable
226
226
public func error( _ message: @autoclosure ( ) -> Logger . Message ,
227
227
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
@@ -238,11 +238,11 @@ extension Logger {
238
238
/// - message: The message to be logged. `message` can be used with any string interpolation literal.
239
239
/// - metadata: One-off metadata to attach to this log message
240
240
/// - file: The file this log message originates from (there's usually no need to pass it explicitly as it
241
- /// defaults to `#file`.
241
+ /// defaults to `#file`) .
242
242
/// - function: The function this log message originates from (there's usually no need to pass it explicitly as
243
- /// it defaults to `#file` .
243
+ /// it defaults to `#function`) .
244
244
/// - line: The line this log message originates from (there's usually no need to pass it explicitly as it
245
- /// defaults to `#line`.
245
+ /// defaults to `#line`) .
246
246
@inlinable
247
247
public func critical( _ message: @autoclosure ( ) -> Logger . Message ,
248
248
metadata: @autoclosure ( ) -> Logger . Metadata ? = nil ,
0 commit comments