Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(lops *LoggerOptions) (interfaces.IDotpeLogger, error)
InitLogger sets up the logger object with LoeggerOptions provided. It returns reference logger object and error
Types ¶
type FileLogConfig ¶ added in v1.0.17
type FileLogConfig struct {
// contains filtered or unexported fields
}
type ILogConfig ¶ added in v1.0.17
type ILogConfig interface {
// contains filtered or unexported methods
}
func NewFileLogConfig ¶ added in v1.0.17
func NewFileLogConfig(logdir, app string) ILogConfig
func NewKibanaConfig ¶ added in v1.0.17
func NewKibanaConfig(Client, AccessKey, SecretKey, APP, APPID string) ILogConfig
type KibanaConfig ¶
type KibanaConfig struct {
// contains filtered or unexported fields
}
type LoggerOptions ¶
type LoggerOptions struct { IConfig ILogConfig APP, APPID, LOGENV, Hostname, WD string // Working directory of the application DisableJSONLogging bool }
LoggerOptions is set of config data for logg
Click to show internal directories.
Click to hide internal directories.