gitlab.com/evatix-go/core@v1.3.55/coreinterface/loggerinf/ConditionalStandardLogger.go (about)

     1  package loggerinf
     2  
     3  type ConditionalStandardLogger interface {
     4  	On(isCondition bool) StandardLogger
     5  	OnErr(err error) StandardLogger
     6  	OnString(expected, actual string) StandardLogger
     7  	OnBytes(expectedRawBytes, actualBytes []byte) StandardLogger
     8  
     9  	OnVerbose() SingleLogger
    10  	OnProduction() SingleLogger
    11  	OnTest() SingleLogger
    12  	OnDebug() SingleLogger
    13  	OnJson() SingleLogger
    14  	OnStacktrace() SingleLogger
    15  
    16  	OnFlag(name, value string) StandardLogger
    17  	OnAnyFlag(name string, value interface{}) StandardLogger
    18  	OnFunc(isLoggerFunc func(logger StandardLogger) bool) StandardLogger
    19  	OnFlagEnabled(name string) StandardLogger
    20  	OnFlagDisabled(name string) StandardLogger
    21  	StackSkip(index int) StandardLogger
    22  }