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:
10
loggy.go
10
loggy.go
@ -37,17 +37,17 @@ type LogOpts struct {
|
|||||||
toKeybase bool
|
toKeybase bool
|
||||||
// Will set to true if UseStdout is true
|
// Will set to true if UseStdout is true
|
||||||
toStdout bool
|
toStdout bool
|
||||||
// Output file for logging
|
// Output file for logging - Required for file output
|
||||||
OutFile string
|
OutFile string
|
||||||
// Keybase Team for logging
|
// Keybase Team for logging - Required for Keybase output
|
||||||
KBTeam string
|
KBTeam string
|
||||||
// Keybase Channel for logging
|
// Keybase Channel for logging - Optional for Keybase output
|
||||||
KBChann string
|
KBChann string
|
||||||
// Log level / verbosity (see LogLevel)
|
// Log level / verbosity (see LogLevel)
|
||||||
Level LogLevel
|
Level LogLevel
|
||||||
// Program name for Keybase logging
|
// Program name for Keybase logging - Required for Keybase output
|
||||||
ProgName string
|
ProgName string
|
||||||
// Use stdout
|
// Use stdout - Required to print to stdout
|
||||||
UseStdout bool
|
UseStdout bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user