Skip to content

Commit 69827c3

Browse files
committed
updated readme with more logging info
Signed-off-by: Zen <[email protected]>
1 parent 1e57c09 commit 69827c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ Personal functions, classes, and decorators used in some of my projects
77

88
### @loggify
99

10-
This decorator can be added to any class to initialize it with a logger, and add extra logging functionality to that class
10+
This decorator can be added to any class to initialize it with a logger, and add extra logging functionality to that class.
11+
12+
`_log_init` can be passed to loggified classes, to enable or disable additional initialization logging.
13+
14+
Functions which do not begin with a `_` will create a debug line when executed, all functions but builtins will create a level 5 log line with the args, name, and result.
1115

1216
### ColorLognameFormatter
1317

0 commit comments

Comments
 (0)