edit plugin readme Issue #40

This commit is contained in:
Schrolli 2015-07-09 07:09:32 +02:00
parent 49b93daa95
commit cbb9481c5c

View file

@ -28,27 +28,25 @@ Now you can send log messages with:
```python ```python
logging.LOGLEVEL("MESSAGE") logging.LOGLEVEL("MESSAGE")
``` ```
You must replace the word `LOGLEVEL` with one if the following `debug`, `info`, `warning`, `error`, `exception` or `critical` You must replace the word `LOGLEVEL` with one if the following `debug`, `info`, `warning` or `error`
To use the right loglevel see next section `2.2 Choose right Loglevel` To use the right loglevel see next section `2.2 Choose right Loglevel`
#### 2.2 Choose right Loglevel #### 2.2 Choose right Loglevel
`debug` `debug`
all messages to find errors and for the internal program flow all messages to find errors and for the internal program flow.
`info` `info`
messages that serve only to inform the user messages that serve only to inform the user.
`warning` `warning`
Warnings are notes and technical errors. Never leads to terminate BOSWatch.
`error` `error`
error does not lead to the end of boswatch An error that does not necessarily lead to end of BOSWatch, but an administrator intervention required.
`Exception`
`critical` `critical`
errors leading to the end of boswatch immediate - in plugins not allowed errors leading to the end of boswatch immediate - **in plugins not allowed** (Plugin cannot crash the entire program)
## 3. Use config file ## 3. Use config file