|
123456789101112131415161718192021222324252627282930313233343536 |
- package grlogs
-
- type Level int
-
- type Adapter string
-
- type AdapterTupple struct {
- Level Level
- Adapter Adapter
- }
-
- const (
- _ Level = iota
- LevelNone Level = iota
- LevelCritical Level = iota
- LevelError Level = iota
- LevelWarning Level = iota
- LevelWarn Level = iota
- LevelInfo Level = iota
- LevelDebug Level = iota
- LevelAll Level = iota
- )
-
- const (
- AdapterFile Adapter = "file"
- AdapterConsole Adapter = "console"
- AdapterSocket Adapter = "socket"
- AdapterElasticSearch Adapter = "es"
- AdapterAliLs Adapter = "alils"
- )
-
- const (
- DEV = "dev"
- GRAY = "gray"
- PROD = "prod"
- )
|