File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# ' Basic Setup for the Logging System
2
2
# '
3
- # ' A quick and easy way to configure the root logger.
3
+ # ' A quick and easy way to configure the root logger. This is less powerful
4
+ # ' then using [`lgr$config()` or `lgr$set_*()`][Logger], but reduces the
5
+ # ' most common configrations to a single line of code.
4
6
# '
5
7
# ' @param file `character` scalar: If not `NULL` a [AppenderFile] will be
6
8
# ' created that logs to this file. If the filename ends in `.jsonl`, the
Original file line number Diff line number Diff line change 1
1
# ' Logger Tree
2
2
# '
3
- # ' Displays an tree structure of all registered Loggers.
3
+ # ' Displays a tree structure of all registered Loggers.
4
4
# '
5
5
# ' @section Symbology:
6
6
# '
7
7
# ' * unconfigured Loggers are displayed in gray (if your terminal supports
8
8
# ' colors and you have the package \pkg{crayon} installed).
9
9
# ' * If a logger's `threshold` is set, it is displayed in square brackets next
10
- # ' to the logger name. If the threshold is not set, it inherits the threshold
11
- # ' of the next logger up the logger tree.
10
+ # ' to its name (reminder: if the threshold is not set, it is inherited from
11
+ # ' next logger up the logger tree) .
12
12
# ' * If a logger's `propagate` field is set to `FALSE` an red hash (`#`) sign
13
13
# ' is displayed in front of the logger name, to imply that it does not pass
14
14
# ' LogEvents up the tree.
@@ -87,9 +87,7 @@ logger_tree <- function(
87
87
}
88
88
}
89
89
90
-
91
90
assert(all_are_distinct(res $ parent ))
92
-
93
91
structure(
94
92
res ,
95
93
class = union(" logger_tree" , class(res ))
You can’t perform that action at this time.
0 commit comments