// LogDebug logs a debug-message (used by ruby script)
LogDebug logs a debug-message (used by ruby script)
// LogDebug logs a debug - message ( used by ruby script )
func (s RunnerService) LogDebug(ctx context.Context, r api.LogRequest) (*api.LogResponse, error) {
	logger, err := s.logHandler.Get(r.Runner + "-runner.log")
	if err != nil {
		return nil, err
	}
	if err != nil {
		return nil, err
	}
	logger = logger.With(zap.String("runner", r.Runner))
	if len(r.Stage) > 0 {
		logger = logger.With(zap.Int("stage_id", r.StageID), zap.String("stage", r.Stage))
	}
	logger.Debug(r.Message)
	return &api.LogResponse{}, nil
}
func ( s RunnerService ) LogDebug ( ctx context . Context , r api . LogRequest ) ( * api . LogResponse , error ) { logger , err := s . logHandler . Get ( r . Runner + " " ) if err != nil { return nil , err } if err != nil { return nil , err } logger = logger . With ( zap . String ( " " , r . Runner ) ) if len ( r . Stage ) > 0 { logger = logger . With ( zap . Int ( " " , r . StageID ) , zap . String ( " " , r . Stage ) ) } logger . Debug ( r . Message ) return & api . LogResponse { } , nil }
LogDebug logs a debug-message (used by ruby script)
LogDebug logs a debug - message ( used by ruby script )