Discover Packages
github.com/crazycomputer/hoge
package
module
Version:
v0.0.0-...-7f0ef27
Opens a new window with list of versions in this module.
Published: Nov 17, 2019
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Expand ▾
Collapse ▴
Documentation
¶
type Config struct {
Level level .Checker `json:"level" yaml:"level"`
DisableCaller bool `json:"disableCaller" yaml:"disableCaller"`
FlowControl *FlowCtrlCfg `json:"flowControl" yaml:"flowControl"`
OutputExporters []ExporterConfig `json:"output" yaml:"output"`
}
type ExporterConfig struct {
Mode string `json:"mode" yaml:"mode"`
Path string `json:"path" yaml:"path"`
}
type FlowCtrlCfg struct {
Period time .Duration `json:"period" yaml:"period"`
Threshold int `json:"threshold" yaml:"threshold"`
OverFreq int `json:"frequency" yaml:"frequency"`
}
func (logger *Logger ) Debug(args ...interface{})
func (logger *Logger ) Error(args ...interface{})
func (logger *Logger ) Info(args ...interface{})
func (logger *Logger ) Trace(args ...interface{})
func (logger *Logger ) Warn(args ...interface{})
type Option interface {
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.