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:
parent
8a0ace3837
commit
95cd6ee23c
@ -9,14 +9,14 @@ Displays the contents of the WTF log file.
|
|||||||
To log to this file in your own modules:
|
To log to this file in your own modules:
|
||||||
|
|
||||||
```golang
|
```golang
|
||||||
require "github.com/senorprogrammer/wtf/logging"
|
require "github.com/senorprogrammer/wtf/logger"
|
||||||
logging.Log("This is a log entry")
|
logger.Log("This is a log entry")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Source Code
|
## Source Code
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wtf/logging/
|
wtf/logger/
|
||||||
```
|
```
|
||||||
|
|
||||||
## Required ENV Variables
|
## Required ENV Variables
|
||||||
@ -30,7 +30,7 @@ Arrow keys scroll through the log file.
|
|||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
textfile:
|
logging:
|
||||||
enabled: true
|
enabled: true
|
||||||
position:
|
position:
|
||||||
top: 5
|
top: 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user