Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LogOnceIf (0.14 sec)

  1. internal/logger/logonce.go

    	return l
    }
    
    var logOnce = newLogOnceType()
    
    // LogOnceIf - Logs notification errors - once per error.
    // id is a unique identifier for related log messages, refer to cmd/notification.go
    // on how it is used.
    func LogOnceIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if logIgnoreError(err) {
    		return
    	}
    	logOnce.logOnceIf(ctx, subsystem, err, id, errKind...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top