mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-20 09:52:09 +03:00
platform: Refactor log interface
This commit is contained in:
6
log/platform.go
Normal file
6
log/platform.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package log
|
||||
|
||||
type PlatformWriter interface {
|
||||
DisableColors() bool
|
||||
WriteMessage(level Level, message string)
|
||||
}
|
||||
Reference in New Issue
Block a user