@@ -37,8 +37,8 @@ class Logger:
3737 a call to one of its methods. There is only one logger, so there is no need to retrieve one
3838 before usage.
3939
40- Handlers to which send log messages are added using the |add| method. Note that you can
41- use the |Logger| right after import as it comes pre-configured. Messages can be logged with
40+ Handlers to which the logger sends log messages are added using the |add| method. Note that you
41+ can use the |Logger| right after import as it comes pre-configured. Messages can be logged with
4242 different severity levels and using braces attributes like the |str.format| method do.
4343
4444 Once a message is logged, a "record" is associated with it. This record is a dict which contains
@@ -169,15 +169,15 @@ def add(
169169 An object in charge of receiving formatted logging messages and propagating them to an
170170 appropriate endpoint.
171171 level : |int| or |str|, optional
172- The minimum severity level from which logged messages should be send to the sink.
172+ The minimum severity level from which logged messages should be sent to the sink.
173173 format : |str| or |function|_, optional
174174 The template used to format logged messages before being sent to the sink.
175175 filter : |function|_ or |str|, optional
176- A directive used to optionally filter out logged messages before they are send to the
176+ A directive used to optionally filter out logged messages before they are sent to the
177177 sink.
178178 colorize : |bool|, optional
179179 Whether or not the color markups contained in the formatted message should be converted
180- to ansi codes for terminal coloration, ore stripped otherwise. If ``None``, the choice
180+ to ansi codes for terminal coloration, or stripped otherwise. If ``None``, the choice
181181 is automatically made based on the sink being a tty or not.
182182 serialize : |bool|, optional
183183 Whether or not the logged message and its records should be first converted to a JSON
@@ -340,8 +340,8 @@ def add(
340340
341341 .. rubric:: The time formatting
342342
343- To use your favorite time representation, you can precise it directly in the time formatter
344- specifier of you handler format, like for example ``format="{time:HH:mm:ss} {message}"``.
343+ To use your favorite time representation, you can set it directly in the time formatter
344+ specifier of your handler format, like for example ``format="{time:HH:mm:ss} {message}"``.
345345 Note that this datetime represents your local time, and it is also made timezone-aware,
346346 so you can display the UTC offset to avoid ambiguities.
347347
@@ -429,10 +429,10 @@ def add(
429429 .. rubric:: The file sinks
430430
431431 If the sink is a |str| or a |Path|, the corresponding file will be opened for writing logs.
432- The path can also contains a special ``"{time}"`` field that will be formatted with the
432+ The path can also contain a special ``"{time}"`` field that will be formatted with the
433433 current date at file creation.
434434
435- The ``rotation`` check is made before logging each messages . If there is already an existing
435+ The ``rotation`` check is made before logging each message . If there is already an existing
436436 file with the same name that the file to be created, then the existing file is renamed by
437437 appending the date to its basename to prevent file overwriting. This parameter accepts:
438438
@@ -541,7 +541,7 @@ def add(
541541 environment variable. For example on Linux: ``export LOGURU_FORMAT="{time} - {message}"``
542542 or ``export LOGURU_BACKTRACE=NO``.
543543
544- The default levels attributes can also be modified by setting the ``LOGURU_[LEVEL]_[ATTR]``
544+ The default levels' attributes can also be modified by setting the ``LOGURU_[LEVEL]_[ATTR]``
545545 environment variable. For example, on Windows: ``setx LOGURU_DEBUG_COLOR "<blue>"``
546546 or ``setx LOGURU_TRACE_ICON "🚀"``.
547547
@@ -832,7 +832,7 @@ def catch(
832832 using threads to propagate errors to the main logger thread.
833833
834834 Note that the visibility of variables values (which uses the cool `better_exceptions`_
835- library from `@Qix-`_) depends on the ``backtrace`` option of each configured sinks .
835+ library from `@Qix-`_) depends on the ``backtrace`` option of each configured sink .
836836
837837 The returned object can also be used as a context manager.
838838
@@ -1185,11 +1185,11 @@ def configure(self, *, handlers=None, levels=None, extra=None, activation=None):
11851185 Parameters
11861186 ----------
11871187 handlers : |list| of |dict|, optional
1188- A list of each handler to be added. The list should contains dicts of params passed to
1188+ A list of each handler to be added. The list should contain dicts of params passed to
11891189 the |add| function as keyword arguments. If not ``None``, all previously added
11901190 handlers are first removed.
11911191 levels : |list| of |dict|, optional
1192- A list of each level to be added or updated. The list should contains dicts of params
1192+ A list of each level to be added or updated. The list should contain dicts of params
11931193 passed to the |level| function as keyword arguments. This will never remove previously
11941194 created levels.
11951195 extra : |dict|, optional
0 commit comments