We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f2cf29 + 0c09ac6 commit 031e9f1Copy full SHA for 031e9f1
README.md
@@ -16,6 +16,17 @@ Python logging library for realtime daily logging for python version 2.7
16
log = Log('path to log dir', 'postfix log file name')
17
18
# Usage
19
- log.addToLog('Hello world')
+
20
+ # without log level param
21
+ Log.addToLog('Hello world')
22
+ 2017-11-14 12:42:20,413 - INFO - Hello world
23
24
+ # warning log level
25
+ Log.addToLog('Hello world', 'warning')
26
+ 2017-11-14 12:42:20,413 - WARNING - Hello world
27
28
+ # debug log level
29
+ Log.addToLog('Hello world', 'debug')
30
+ 2017-11-14 12:42:20,413 - DEBUG - Hello world
31
32
0 commit comments