Documentation ¶
Index ¶
- func GAppName() string
- func GBuildVersion() string
- func GConfigs() cfg_provider.ConfigProvider
- func GEventBus() *event_bus.EventBus
- func GRunEnv() string
- func GWorkDir() string
- func InitEnv(appName, workDir string, args ...string) error
- func NewLoggerWithCTX(module string, args ...context.Context) log_provider.Logger
- func SetLogProvider(logProvider log_provider.LoggerProvider)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerWithCTX ¶
func NewLoggerWithCTX(module string, args ...context.Context) log_provider.Logger
NewLoggerWithCTX 日志收集器
func SetLogProvider ¶ added in v0.3.11
func SetLogProvider(logProvider log_provider.LoggerProvider)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.