feat: 优化日志组件,添加日志分级
This commit is contained in:
@@ -3,7 +3,7 @@ package util
|
||||
func getbyte(a byte) int {
|
||||
x := int(a)
|
||||
if x > 255 {
|
||||
Log.Fatalln("INVALID_CHARACTER_ERR: DOM Exception 5")
|
||||
Log.Fatal("INVALID_CHARACTER_ERR: DOM Exception 5")
|
||||
}
|
||||
return x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user