mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-03-21 05:49:32 +00:00
Fix log to file
This commit is contained in:
parent
c8424ed8fd
commit
1b7a3b4a74
1 changed files with 1 additions and 0 deletions
1
box.go
1
box.go
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue