gitlab.com/evatix-go/core@v1.3.55/internal/internalinterface/all-loggers.go (about) 1 package internalinterface 2 3 type VoidLogger interface { 4 // Log 5 // 6 // Prints the compiled error message with all types 7 // only not fatal or panic 8 Log() 9 } 10 11 type VoidTracesLogger interface { 12 // LogWithTraces 13 // 14 // Prints the compiled error message with all types 15 // and stack-traces but not fatal or panic 16 LogWithTraces() 17 } 18 19 type FatalVoidLogger interface { 20 LogFatal() 21 } 22 23 type FatalTracesVoidLogger interface { 24 LogFatalWithTraces() 25 } 26 27 type VoidIfLogger interface { 28 LogIf(isLog bool) 29 } 30 31 type CompiledVoidLogger interface { 32 VoidLogger 33 VoidTracesLogger 34 FatalVoidLogger 35 FatalTracesVoidLogger 36 VoidIfLogger 37 }