Documentation
¶
Overview ¶
Package logg provides helper functions logging.
Index ¶
Constants ¶
View Source
const ( DEBUG = iota // 0 INFO WARN ERROR )
Define log levels.
Variables ¶
This section is empty.
Functions ¶
func FormatValue ¶
func FormatValue(value interface{}) interface{}
Converte valori come time.Duration in formati leggibili
func GetLogFileName ¶
Types ¶
type LogField ¶
type LogField struct {
Key string
Value interface{}
}
LogField represents a key-value pair in a log row.
Click to show internal directories.
Click to hide internal directories.