gitlab.com/evatix-go/core@v1.3.55/coreinterface/loggerinf/Logger.go (about) 1 package loggerinf 2 3 // Logger 4 // 5 // logs message to io.Writer at various log levels. 6 type Logger interface { 7 FatalLogger // Fatal logs a message at Fatal level 8 ErrorLogger // Error logs a message at Error level. 9 WarningLogger // Warn logs a message at Warning level. 10 InfoLogger // Info logs a message at Info level. 11 DebugLogger // Debug logs a message at Debug level. 12 }