# README
ion-log
QuickStart
package main
import (
log "github.com/pion/ion-log"
)
func init() {
log.Init("debug")
}
func main() {
log.Infof("Hello ION!")
}
Feature
GoodFormat:
[date time] [Level] [Prefix]: [file:line] [Func] YourLog fields=value
[2021-05-06 09:54:49.658] INFO default: [log_test.go:19] [ion-log_test.TestDefaultLogger] log with format ION somefield=foo
# Packages
No description provided by the author
# Functions
Debugf logs a formatted debug level log to the console.
Errorf logs a formatted error level log to the console.
No description provided by the author
Infof logs a formatted info level log to the console.
No description provided by the author
No description provided by the author
No description provided by the author
Panicf logs a formatted panic level log to the console.
No description provided by the author
No description provided by the author
Tracef logs a formatted debug level log to the console.
Warnf logs a formatted warn level log to the console.
# Constants
DebugLevel level.
ErrorLevel level.
FatalLevel level.
InfoLevel level.
PanicLevel level, highest level of severity.
TraceLevel level.
WarnLevel level.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author