Documentation ¶
Index ¶
Constants ¶
View Source
const ( Error LogLevel = "ERROR" Warning = "WARN" Info = "INFO" Debug = "DEBUG" )
Variables ¶
This section is empty.
Functions ¶
func LogRequest ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(c *LoggerConfig) (logger *Logger)
type LoggerConfig ¶
func NewLoggerConfig ¶
func NewLoggerConfig() (c *LoggerConfig)
Click to show internal directories.
Click to hide internal directories.