1
0
mirror of https://github.com/Rudi9719/loggy.git synced 2026-03-22 05:17:26 +00:00

Requirements added for each output?

This commit is contained in:
Gregory Rudolph
2020-01-14 17:52:01 -05:00
parent 39a9d41ad1
commit 4a33ed86b8

View File

@ -37,17 +37,17 @@ type LogOpts struct {
toKeybase bool
// Will set to true if UseStdout is true
toStdout bool
// Output file for logging
// Output file for logging - Required for file output
OutFile string
// Keybase Team for logging
// Keybase Team for logging - Required for Keybase output
KBTeam string
// Keybase Channel for logging
// Keybase Channel for logging - Optional for Keybase output
KBChann string
// Log level / verbosity (see LogLevel)
Level LogLevel
// Program name for Keybase logging
// Program name for Keybase logging - Required for Keybase output
ProgName string
// Use stdout
// Use stdout - Required to print to stdout
UseStdout bool
}