test
This commit is contained in:
parent
3301e6c1f7
commit
5ae0eb6bea
@ -124,7 +124,11 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
}
|
||||
cwm.Report[r.ReplaceAllString(m.Text, "${Loot2}")] = rep
|
||||
b, err := json.Marshal(cwm)
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))
|
||||
if len(string(b)) < 50 {
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] :\n%s\n", m.Text)
|
||||
} else {
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : objSubTypeMessageMiniWar\n%s\n", string(b))
|
||||
}
|
||||
/*
|
||||
if err == nil {
|
||||
log.Printf("SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : War time : %s (%d)\n", r.ReplaceAllString(m.Text, "${Time}"), objId)
|
||||
|
Loading…
Reference in New Issue
Block a user