From 65ef6fc9ebc3543e5d115ff85edc7ee32a39224f Mon Sep 17 00:00:00 2001 From: Anand Sudhir Prayaga Date: Tue, 19 Jun 2018 14:22:08 +0200 Subject: [PATCH] Rename widget logging to logger to maintain consistency --- .../posts/modules/{logging.md => logger.md} | 4 ++-- .../hyde-hyde/layouts/partials/sidebar.html | 2 +- docs/404.html | 2 +- docs/categories/index.html | 2 +- docs/index.html | 2 +- docs/index.xml | 10 +++++----- docs/posts/configuration/attributes/index.html | 2 +- docs/posts/configuration/index.html | 2 +- docs/posts/configuration/iterm2/index.html | 2 +- docs/posts/glossary/index.html | 2 +- docs/posts/index.html | 4 ++-- docs/posts/index.xml | 10 +++++----- docs/posts/installation/index.html | 2 +- docs/posts/modules/bamboohr/index.html | 2 +- docs/posts/modules/circleci/index.html | 2 +- docs/posts/modules/clocks/index.html | 2 +- docs/posts/modules/cmdrunner/index.html | 2 +- .../modules/cryptocurrencies/bittrex/index.html | 2 +- .../cryptocurrencies/blockfolio/index.html | 2 +- .../cryptocurrencies/cryptolive/index.html | 2 +- docs/posts/modules/gcal/index.html | 2 +- docs/posts/modules/git/index.html | 2 +- docs/posts/modules/github/index.html | 2 +- docs/posts/modules/gitlab/index.html | 2 +- docs/posts/modules/gspreadsheet/index.html | 2 +- docs/posts/modules/index.html | 2 +- docs/posts/modules/ipapi/index.html | 2 +- docs/posts/modules/ipinfo/index.html | 2 +- docs/posts/modules/jenkins/index.html | 2 +- docs/posts/modules/jira/index.html | 2 +- .../posts/modules/{logging => logger}/index.html | 16 ++++++++-------- docs/posts/modules/newrelic/index.html | 2 +- docs/posts/modules/opsgenie/index.html | 2 +- docs/posts/modules/power/index.html | 2 +- docs/posts/modules/prettyweather/index.html | 2 +- docs/posts/modules/security/index.html | 2 +- docs/posts/modules/textfile/index.html | 2 +- docs/posts/modules/todo/index.html | 2 +- docs/posts/modules/weather/index.html | 2 +- docs/posts/overview/index.html | 2 +- docs/sitemap.xml | 2 +- docs/tags/index.html | 2 +- logger/log.go | 2 +- wtf.go | 2 +- 44 files changed, 61 insertions(+), 61 deletions(-) rename _site/content/posts/modules/{logging.md => logger.md} (97%) rename docs/posts/modules/{logging => logger}/index.html (93%) diff --git a/_site/content/posts/modules/logging.md b/_site/content/posts/modules/logger.md similarity index 97% rename from _site/content/posts/modules/logging.md rename to _site/content/posts/modules/logger.md index b2974fe6..e3d1fbae 100644 --- a/_site/content/posts/modules/logging.md +++ b/_site/content/posts/modules/logger.md @@ -1,5 +1,5 @@ --- -title: "Logging" +title: "Logger" date: 2018-06-16T14:22:18-07:00 draft: false --- @@ -30,7 +30,7 @@ Arrow keys scroll through the log file. ## Configuration ```yaml -logging: +logger: enabled: true position: top: 5 diff --git a/_site/themes/hyde-hyde/layouts/partials/sidebar.html b/_site/themes/hyde-hyde/layouts/partials/sidebar.html index 9c7e92f2..a4b57457 100644 --- a/_site/themes/hyde-hyde/layouts/partials/sidebar.html +++ b/_site/themes/hyde-hyde/layouts/partials/sidebar.html @@ -38,7 +38,7 @@ - + diff --git a/docs/404.html b/docs/404.html index abc09821..4d13885f 100644 --- a/docs/404.html +++ b/docs/404.html @@ -79,7 +79,7 @@ - + diff --git a/docs/categories/index.html b/docs/categories/index.html index 959cb245..a1b78469 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -81,7 +81,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 99975824..6e6839fa 100644 --- a/docs/index.html +++ b/docs/index.html @@ -80,7 +80,7 @@ - + diff --git a/docs/index.xml b/docs/index.xml index 4249f027..57e80afa 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -12,16 +12,16 @@ - Logging - https://wtfutil.com/posts/modules/logging/ + Logger + https://wtfutil.com/posts/modules/logger/ Sat, 16 Jun 2018 14:22:18 -0700 - https://wtfutil.com/posts/modules/logging/ + https://wtfutil.com/posts/modules/logger/ Displays the contents of the WTF log file. To log to this file in your own modules: -require "github.com/senorprogrammer/wtf/logging" logging.Log("This is a log entry") Source Code wtf/logging/ Required ENV Variables None. +require "github.com/senorprogrammer/wtf/logger" logger.Log("This is a log entry") Source Code wtf/logger/ Required ENV Variables None. Keyboard Commands Arrow keys scroll through the log file. -Configuration textfile:enabled:trueposition:top:5left:4height:2width:1refreshInterval:1 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. +Configuration logger:enabled:trueposition:top:5left:4height:2width:1refreshInterval:1 Attributes enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false. position Defines where in the grid this module’s widget will be displayed. diff --git a/docs/posts/configuration/attributes/index.html b/docs/posts/configuration/attributes/index.html index 45f00e4b..28c189dd 100644 --- a/docs/posts/configuration/attributes/index.html +++ b/docs/posts/configuration/attributes/index.html @@ -79,7 +79,7 @@ - + diff --git a/docs/posts/configuration/index.html b/docs/posts/configuration/index.html index 24262a30..7ff5e7ff 100644 --- a/docs/posts/configuration/index.html +++ b/docs/posts/configuration/index.html @@ -79,7 +79,7 @@ - + diff --git a/docs/posts/configuration/iterm2/index.html b/docs/posts/configuration/iterm2/index.html index ad673ae2..6f027bb9 100644 --- a/docs/posts/configuration/iterm2/index.html +++ b/docs/posts/configuration/iterm2/index.html @@ -79,7 +79,7 @@ - + diff --git a/docs/posts/glossary/index.html b/docs/posts/glossary/index.html index 67d7d7f9..d97e4c30 100644 --- a/docs/posts/glossary/index.html +++ b/docs/posts/glossary/index.html @@ -79,7 +79,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index f7df2293..902ea1b2 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -81,7 +81,7 @@ - + @@ -107,7 +107,7 @@