logger

package
v0.0.0-...-aca1c39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogger

type ILogger interface {
	Debug(args ...interface{})
	Debugf(format string, args ...interface{})
	Info(args ...interface{})
	Infof(format string, args ...interface{})
	Warn(args ...interface{})
	Warnf(format string, args ...interface{})
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
	Panic(args ...interface{})
	Panicf(format string, args ...interface{})
	Fatal(args ...interface{})
	Fatalf(format string, args ...interface{})
	Trace(args ...interface{})
	Tracef(format string, args ...interface{})
	// contains filtered or unexported methods
}

Logger methods interface

var (
	Logger ILogger
)

func InitLogger

func InitLogger(cfg *LoggerConfig) ILogger

InitLogger Init logger

type LoggerAdapter

type LoggerAdapter struct {
	OctoLogger ILogger
}

Adapter for octo-fortnite logger to satisfy lacoste-romberg logger interface

type LoggerConfig

type LoggerConfig struct {
	LogLevel string `mapstructure:"level"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL