Documentation ¶
Index ¶
- func NewEnv(basePath string, initScripts string, args []string) (*luabox.Environment, error)
- type Fs
- type ZapLog
- func (z *ZapLog) Debug(msg string, context map[string]interface{})
- func (z *ZapLog) Error(msg string, context map[string]interface{})
- func (z *ZapLog) Fatal(msg string, context map[string]interface{})
- func (z *ZapLog) Info(msg string, context map[string]interface{})
- func (z *ZapLog) Warn(msg string, context map[string]interface{})
- func (z *ZapLog) WithFields(context map[string]interface{}) luabox.Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZapLog ¶
type ZapLog struct {
Zap *zap.SugaredLogger
}
Click to show internal directories.
Click to hide internal directories.