mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-05 12:57:36 +03:00
platform: Refactor log interface
This commit is contained in:
parent
3cadc90375
commit
1825869124
7 changed files with 35 additions and 19 deletions
|
@ -42,7 +42,7 @@ type Options struct {
|
|||
Observable bool
|
||||
DefaultWriter io.Writer
|
||||
BaseTime time.Time
|
||||
PlatformWriter io.Writer
|
||||
PlatformWriter PlatformWriter
|
||||
}
|
||||
|
||||
func New(options Options) (Factory, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue