Logging

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.

Keyboard Commands

Arrow keys scroll through the log file.

Configuration

textfile:
  enabled: true
  position:
    top: 5
    left: 4
    height: 2
    width: 1
  refreshInterval: 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.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.