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 KibanaConfig ¶
type KibanaConfig struct { Client, AccessKey, SecretKey, APPID, Hostname string }
KibanaConfig Mandatory for kibana logging
type LoggerOptions ¶
type LoggerOptions struct { KibanaConfig APP, APPID, LOGENV, 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.