From 95cd6ee23cae9963c72cec9ac49955a932dd344e Mon Sep 17 00:00:00 2001 From: Anand Sudhir Prayaga Date: Tue, 19 Jun 2018 11:10:29 +0200 Subject: [PATCH] Fix documentation for logging module --- _site/content/posts/modules/logging.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_site/content/posts/modules/logging.md b/_site/content/posts/modules/logging.md index 544cd701..b2974fe6 100644 --- a/_site/content/posts/modules/logging.md +++ b/_site/content/posts/modules/logging.md @@ -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