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

     1  package loggerinf
     2  
     3  type FormatErrorLogger interface {
     4  	ErrorFmt(
     5  		format string,
     6  		args ...interface{},
     7  	)
     8  	ErrorFmtIf(
     9  		isLog bool,
    10  		format string,
    11  		args ...interface{},
    12  	)
    13  	ErrorFmtStackSkip(
    14  		stackSkipIndex int,
    15  		format string,
    16  		args ...interface{},
    17  	)
    18  
    19  	// ErrorFmtUsingError
    20  	//
    21  	// Skip if no error
    22  	ErrorFmtUsingError(
    23  		format string,
    24  		err error,
    25  	)
    26  
    27  	// ErrorFmtUsingErrorStackSkip
    28  	//
    29  	// Skip if no error
    30  	ErrorFmtUsingErrorStackSkip(
    31  		stackSkipIndex int,
    32  		format string,
    33  		err error,
    34  	)
    35  	WarnFmtStackSkip(
    36  		stackSkipIndex int,
    37  		format string,
    38  		args ...interface{},
    39  	)
    40  	InfoFmtStackSkip(
    41  		stackSkipIndex int,
    42  		format string,
    43  		args ...interface{},
    44  	)
    45  	WarnStackSkip(
    46  		stackSkipIndex int,
    47  		args ...interface{},
    48  	)
    49  
    50  	InfoStackSkip(
    51  		stackSkipIndex int,
    52  		args ...interface{},
    53  	)
    54  }