mirror of
https://github.com/Rudi9719/loggy.git
synced 2026-03-22 13:27:27 +00:00
Requirements added for each output?
This commit is contained in:
10
loggy.go
10
loggy.go
@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user