Created Log Levels (markdown)
parent
8279a0db1e
commit
5ed24e5a5c
1 changed files with 20 additions and 0 deletions
20
Log-Levels.md
Normal file
20
Log-Levels.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
### ERROR
|
||||
|
||||
Whenever there is an ERROR in the log, it is a bug and needs to be fixed.
|
||||
|
||||
### WARNING
|
||||
|
||||
To be used when something has potentially gone wrong, but is otherwise recoverable. WARNINGS should frequently be reviewed to make sure that we aren't missing errors, or perhaps more elegantly handle recovery, etc.
|
||||
|
||||
### INFO
|
||||
|
||||
Everything INFO and above is persisted. Statements at this level should be able to provide context for the state of the app and be useful for tracking down bugs or diagnosing WARNING and ERROR messages.
|
||||
|
||||
### DEBUG
|
||||
|
||||
DEBUG statements are not persisted. This level is only for messages that would be useful to developers running with console logging on.
|
||||
|
||||
### CRITICAL
|
||||
|
||||
Not currently used.
|
||||
|
Loading…
Add table
Reference in a new issue