Skip to content

Commit 535e4f0

Browse files
committed
Fix logging method docstrings
1 parent 102abb7 commit 535e4f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

adafruit_logging.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def log(self, level: int, msg: str, *args) -> None:
305305
:param int level: the priority level at which to log
306306
:param str msg: the core message string with embedded
307307
formatting directives
308-
:param args: arguments to ``format_string.format()``;
308+
:param args: arguments to ``msg % args``;
309309
can be empty
310310
"""
311311

@@ -316,7 +316,7 @@ def debug(self, msg: str, *args) -> None:
316316
317317
:param str fmsg: the core message string with embedded
318318
formatting directives
319-
:param args: arguments to ``format_string.format()``;
319+
:param args: arguments to ``msg % args``;
320320
can be empty
321321
"""
322322
self._log(DEBUG, msg, *args)
@@ -326,7 +326,7 @@ def info(self, msg: str, *args) -> None:
326326
327327
:param str msg: the core message string with embedded
328328
formatting directives
329-
:param args: arguments to ``format_string.format()``;
329+
:param args: arguments to ``msg % args``;
330330
can be empty
331331
"""
332332

@@ -337,7 +337,7 @@ def warning(self, msg: str, *args) -> None:
337337
338338
:param str msg: the core message string with embedded
339339
formatting directives
340-
:param args: arguments to ``format_string.format()``;
340+
:param args: arguments to ``msg % args``;
341341
can be empty
342342
"""
343343

@@ -348,7 +348,7 @@ def error(self, msg: str, *args) -> None:
348348
349349
:param str msg: the core message string with embedded
350350
formatting directives
351-
:param args: arguments to ``format_string.format()``;
351+
:param args: arguments to ``msg % args``;
352352
can be empty
353353
"""
354354

@@ -359,7 +359,7 @@ def critical(self, msg: str, *args) -> None:
359359
360360
:param str msg: the core message string with embedded
361361
formatting directives
362-
:param args: arguments to ``format_string.format()``;
362+
:param args: arguments to ``msg % args``;
363363
can be empty
364364
"""
365365
self._log(CRITICAL, msg, *args)

0 commit comments

Comments
 (0)