Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for logOnceConsoleIf (0.2 sec)

  1. internal/logger/logonce.go

    		return
    	}
    	logOnce.logOnceIf(ctx, subsystem, err, id, errKind...)
    }
    
    // LogOnceConsoleIf - similar to LogOnceIf but exclusively only logs to console target.
    func LogOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if logIgnoreError(err) {
    		return
    	}
    	logOnce.logOnceConsoleIf(ctx, subsystem, err, id, errKind...)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/logging.go

    	logger.LogOnceIf(ctx, "config", err, id, errKind...)
    }
    
    func configLogOnceConsoleIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceConsoleIf(ctx, "config", err, id, errKind...)
    }
    
    func scannerLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "scanner", err, errKind...)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top