Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogOptionJWTLogging ¶ added in v1.1.0
func AccessLogOptionRequestBody ¶ added in v1.1.0
func Init ¶ added in v1.1.0
func Init(opts ...Option) interfaces.IDotpeLogger
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 Option ¶ added in v1.1.0
type Option func(dlogger *dlogger)
func WithAccessLogOptions ¶ added in v1.1.0
func WithAccessLogOptions(opts ...accessLogOption) Option
func WithAppInfo ¶ added in v1.1.0
func WithLogHook ¶
func WithLogOptions ¶ added in v1.1.0
func WithLogOptions(opts ...logOption) Option
Click to show internal directories.
Click to hide internal directories.