1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix documentation for logging module

This commit is contained in:
Anand Sudhir Prayaga 2018-06-19 11:10:29 +02:00
parent 8a0ace3837
commit 95cd6ee23c

View File

@ -9,14 +9,14 @@ Displays the contents of the WTF log file.
To log to this file in your own modules:
```golang
require "github.com/senorprogrammer/wtf/logging"
logging.Log("This is a log entry")
require "github.com/senorprogrammer/wtf/logger"
logger.Log("This is a log entry")
```
## Source Code
```bash
wtf/logging/
wtf/logger/
```
## Required ENV Variables
@ -30,7 +30,7 @@ Arrow keys scroll through the log file.
## Configuration
```yaml
textfile:
logging:
enabled: true
position:
top: 5