18 lines
256 B
Go
18 lines
256 B
Go
package module
|
|
|
|
import (
|
|
"git.hlsq.asia/mmorpg/service-common/config"
|
|
"git.hlsq.asia/mmorpg/service-common/log"
|
|
)
|
|
|
|
// Log 日志模块
|
|
type Log struct {
|
|
DefaultModule
|
|
Cfg *config.LogConfig
|
|
}
|
|
|
|
func (m *Log) Init() error {
|
|
log.Init(m.Cfg)
|
|
return nil
|
|
}
|