mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-05 07:27:50 +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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetTimeFormat sets time format of TextFormatter if the parameter fmt is not null
|
||||||
func (t *TextFormatter) SetTimeFormat(fmt string) {
|
func (t *TextFormatter) SetTimeFormat(fmt string) {
|
||||||
if len(fmt) != 0 {
|
if len(fmt) != 0 {
|
||||||
t.timeFormat = fmt
|
t.timeFormat = fmt
|
||||||
|
Loading…
Reference in New Issue
Block a user