diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-17 17:11:54 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-11-17 17:11:54 +0100 |
| commit | 6229767a7d5b0d3cf3125f2e9da0ca0e66ada814 (patch) | |
| tree | 5571ead7182238e5b19004e73452abfd49329a13 | |
| parent | cec330c1644a0318f2037b786b4cb3a34c6f17ff (diff) | |
Log: Rename log file to log
| -rw-r--r-- | internal/log/log.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/log/log.go b/internal/log/log.go index 710d34b..8dc3ad0 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -115,8 +115,7 @@ func (logger *FileLogger) Close() { } func (logger *FileLogger) getFilename(directory string) string { - pathString := path.Join(directory, "go") - return fmt.Sprintf("%s.log", pathString) + return path.Join(directory, "log") } func (logger *FileLogger) log(level LogLevel, msg string, params ...interface{}) { |
