Documentation
¶
Index ¶
- Variables
- func NewConfig() *configFiles
- func NewConsole() *console
- func NewLabels(addColon bool, r, g, b uint8) *labels
- func RPCClient() *rpcClient
- type LoggerController
- func (logger *LoggerController) Debug(message string, args ...string)
- func (logger *LoggerController) Error(message string, args ...string)
- func (logger *LoggerController) Fatal(message string, args ...string)
- func (logger *LoggerController) Info(message string, args ...string)
- func (logger *LoggerController) Warning(message string, args ...string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Configuration configFiles
View Source
var Console console
Console instance
View Source
var RPC rpcClient
Functions ¶
Types ¶
type LoggerController ¶
type LoggerController struct {
// contains filtered or unexported fields
}
func NewLoggerController ¶
func NewLoggerController(nfo bool, warn bool, err bool, dbg bool) *LoggerController
func (*LoggerController) Debug ¶
func (logger *LoggerController) Debug(message string, args ...string)
Log debug level
func (*LoggerController) Error ¶
func (logger *LoggerController) Error(message string, args ...string)
Log error level
func (*LoggerController) Fatal ¶
func (logger *LoggerController) Fatal(message string, args ...string)
Log fatal message and quit
func (*LoggerController) Info ¶
func (logger *LoggerController) Info(message string, args ...string)
Log info level
func (*LoggerController) Warning ¶
func (logger *LoggerController) Warning(message string, args ...string)
Log warning level
Click to show internal directories.
Click to hide internal directories.