mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 06:28:06 +01:00
add comment
This commit is contained in:
parent
0471e6ca3d
commit
5d9b4185b8
@ -55,6 +55,7 @@ func (t *TextFormatter) Format(r *Record) (b []byte, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// SetTimeFormat sets time format of TextFormatter if the parameter fmt is not null
|
||||
func (t *TextFormatter) SetTimeFormat(fmt string) {
|
||||
if len(fmt) != 0 {
|
||||
t.timeFormat = fmt
|
||||
|
Loading…
Reference in New Issue
Block a user