1
This commit is contained in:
parent
906ce9519c
commit
5549c4e7ac
2
app.go
2
app.go
@ -49,6 +49,8 @@ func (this *App_) Init() {
|
|||||||
5000)
|
5000)
|
||||||
_SysLog = new(SysLog_)
|
_SysLog = new(SysLog_)
|
||||||
_SysLog.Init()
|
_SysLog.Init()
|
||||||
|
_TgLog = new(TGLog_)
|
||||||
|
_TgLog.Init()
|
||||||
flag.IntVar(&this.nodeId, "n", 0, "node id")
|
flag.IntVar(&this.nodeId, "n", 0, "node id")
|
||||||
flag.IntVar(&this.instanceId, "i", 0, "instance id")
|
flag.IntVar(&this.instanceId, "i", 0, "instance id")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
4
tglog.go
4
tglog.go
@ -33,6 +33,10 @@ func (this *TGLog_) UnInit() {
|
|||||||
this.chGoSaveExit <- 1
|
this.chGoSaveExit <- 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *TGLog_) SetPolyLog(isPolyLog bool) {
|
||||||
|
this.isPolyLog = isPolyLog
|
||||||
|
}
|
||||||
|
|
||||||
func (this *TGLog_) AddTrackLog(
|
func (this *TGLog_) AddTrackLog(
|
||||||
gameId int32,
|
gameId int32,
|
||||||
accountId string,
|
accountId string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user