f1393ddb21076a44b89b7c56bbfdb94c781109bd
Guides/Logging-Basics.md
| ... | ... | @@ -35,11 +35,30 @@ Add it before any other call, for example before the connection string, in the i |
| 35 | 35 | |
| 36 | 36 | ###Logging level |
| 37 | 37 | |
| 38 | +There are three default levels of logging: Info, Error, and Fatal |
|
| 39 | + |
|
| 40 | +####Info |
|
| 41 | + |
|
| 42 | +```xml |
|
| 43 | + <level value="Info" /> |
|
| 44 | +``` |
|
| 45 | + |
|
| 46 | +Info logs all events. It will rapidly generate a large log. We recommend Info only when chasing an obscure bug, or to diagnose Izenda's internal workflow. |
|
| 47 | + |
|
| 48 | +####Error |
|
| 49 | + |
|
| 50 | +```xml |
|
| 51 | + <level value="Error" /> |
|
| 52 | +``` |
|
| 53 | + |
|
| 54 | +Error logs non-fatal erroneous behavior. It is useful when looking for undesired or abnormal behavior within Izenda. |
|
| 55 | + |
|
| 56 | +####Fatal |
|
| 38 | 57 | ```xml |
| 39 | 58 | <level value="FATAL" /> |
| 40 | 59 | ``` |
| 41 | 60 | |
| 42 | -The level value change be changed to any of the following; FATAL, INFO, and ALL. These are listed in ascending order of amount of logged output. Set this level appropriately to catch the information you need from the logging. |
|
| 61 | +Fatal only logs severe errors that cause crashes or program termination. Very few items are logged at this level. |
|
| 43 | 62 | |
| 44 | 63 | ###File name |
| 45 | 64 |