mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-06-08 02:28:39 -04:00
updated README.md to reflect new logging paradigm.
This commit is contained in:
20
README.md
20
README.md
@ -93,6 +93,26 @@ please keep up with these changes, as they will not be backward compatible and r
|
|||||||
- [X] Data Types
|
- [X] Data Types
|
||||||
- [X] Session Tag
|
- [X] Session Tag
|
||||||
|
|
||||||
|
## Verbosity ##
|
||||||
|
Logging can be enabled and configured using the DEBUG_I2P environment variable. By default, logging is disabled.
|
||||||
|
|
||||||
|
There are three available log levels:
|
||||||
|
|
||||||
|
- Debug
|
||||||
|
```shell
|
||||||
|
export DEBUG_I2P=debug
|
||||||
|
```
|
||||||
|
- Warn
|
||||||
|
```shell
|
||||||
|
export DEBUG_I2P=warn
|
||||||
|
```
|
||||||
|
- Error
|
||||||
|
```shell
|
||||||
|
export DEBUG_I2P=error
|
||||||
|
```
|
||||||
|
|
||||||
|
If in case I2P_DEBUG is set to an unrecognized variable, it will fall back to "debug".
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
See CONTRIBUTING.md for more information.
|
See CONTRIBUTING.md for more information.
|
||||||
|
Reference in New Issue
Block a user