diff options
| author | Shulhan <ms@kilabit.info> | 2023-10-13 15:18:09 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-10-13 15:18:09 +0700 |
| commit | aa5ec477dceb0283fc1eca05eb4fdd0c8b7d41a1 (patch) | |
| tree | 230c48f7f3abfb9340c5d58c00f47a5cf4d5cfe7 /converter.go | |
| parent | 4d6bb569fd00678a7b488725ed4d1ba998b47d54 (diff) | |
| download | ciigo-aa5ec477dceb0283fc1eca05eb4fdd0c8b7d41a1.tar.xz | |
all: print log message with log package
This is to provide the timestamp to each log output.
Diffstat (limited to 'converter.go')
| -rw-r--r-- | converter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter.go b/converter.go index da78cb4..316bfc5 100644 --- a/converter.go +++ b/converter.go @@ -84,7 +84,7 @@ func (converter *Converter) convertFileMarkups(fileMarkups map[string]*FileMarku if err != nil { log.Printf(`%s: %s`, logp, err) } else { - fmt.Printf("%s: converting %s\n", logp, fmarkup.path) + log.Printf(`%s: converting %s`, logp, fmarkup.path) } } } |
