diff --git a/_site/content/posts/modules/logger.md b/_site/content/posts/modules/logger.md index e3d1fbae..23280a4b 100644 --- a/_site/content/posts/modules/logger.md +++ b/_site/content/posts/modules/logger.md @@ -44,6 +44,10 @@ logger: `enabled`
Determines whether or not this module is executed and if its data displayed onscreen.
+**Note:** If you're using logging and logging is _disabled_, your logs +will still be written to file, the widget just won't be shown onscreen. +If you have `logger.Log` calls in your code, regardless of this setting, +they will be written out.
Values: `true`, `false`. `position`
diff --git a/docs/index.xml b/docs/index.xml index 57e80afa..ef8eec45 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -21,8 +21,7 @@ To log to this file in your own modules: 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 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. +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. Note: If you’re using logging and logging is disabled, your logs will still be written to file, the widget just won’t be shown onscreen. diff --git a/docs/posts/index.xml b/docs/posts/index.xml index bf8bbe81..e95607ff 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -21,8 +21,7 @@ To log to this file in your own modules: 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 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. +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. Note: If you’re using logging and logging is disabled, your logs will still be written to file, the widget just won’t be shown onscreen. diff --git a/docs/posts/modules/logger/index.html b/docs/posts/modules/logger/index.html index 9df79e82..d382898b 100644 --- a/docs/posts/modules/logger/index.html +++ b/docs/posts/modules/logger/index.html @@ -148,6 +148,10 @@

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
+Note: If you’re using logging and logging is disabled, your logs +will still be written to file, the widget just won’t be shown onscreen. +If you have logger.Log calls in your code, regardless of this setting, +they will be written out.
Values: true, false.

position