update
							parent
							
								
									07f530301d
								
							
						
					
					
						commit
						1a6235741b
					
				|  | @ -48,7 +48,7 @@ func init() { | |||
| var setupped bool = false | ||||
| 
 | ||||
| func SetupLogger(l zerolog.Logger, skip ...int) zerolog.Logger { | ||||
| 	if !util.PROD { | ||||
| 	if !util.PROD && len(skip) > 0 { | ||||
| 		l = l.With().Caller().Logger() | ||||
| 	} | ||||
| 	if viper.GetBool("log.pretty") { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue