Fix log to file

This commit is contained in:
世界 committed 2022-08-19 08:26:26 +08:00
1 parent c8424ed8fd
commit 1b7a3b4a74
1 file changed
+1
+1
View File
@@ -60,6 +60,7 @@ func New(ctx context.Context, options option.Options) (*Box, error) {
if err != nil {
return nil, err
}
logWriter = logFile
}
logFormatter := log.Formatter{
BaseTime: createdAt,