This commit is contained in:
1-6
2023-07-14 13:54:20 +08:00
parent 7777fb73cd
commit a15c68055f
9 changed files with 29 additions and 19 deletions
+5
View File
@@ -73,6 +73,11 @@ func (c *Console) Debug(v ...interface{}) {
if len(v) == 0 {
return
}
if c.UUID != "" {
if plugin_debug.GetString(c.UUID) != "b:true" {
return
}
}
log := utils.FormatLog(v[0], v[1:]...)
logs.Debug(log)
Broadcast2WebUser(log, "debug")