platform: Refactor log interface

This commit is contained in:
世界
2023-11-15 13:05:33 +08:00
parent cb327ddb23
commit 3c08ab6689
7 changed files with 35 additions and 19 deletions

View File

@@ -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) {