Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(log1 *LogBackend)
Types ¶
type LogBackend ¶
func NewLogBackend ¶
func NewLogBackend(logger *logrus.Logger, dbSaver *LogDbSaver, conf *config.AppConfig) (back *LogBackend)
func (*LogBackend) Log ¶
func (b *LogBackend) Log(level logging.Level, calldepth int, rec *logging.Record) (err error)
type LogDbSaver ¶ added in v0.0.19
func NewLogDbSaver ¶ added in v0.0.19
func NewLogDbSaver(adaptors *adaptors.Adaptors, graceful *graceful_service.GracefulService) *LogDbSaver
func (*LogDbSaver) Save ¶ added in v0.0.19
func (l *LogDbSaver) Save(log m.Log)
func (*LogDbSaver) Shutdown ¶ added in v0.0.19
func (l *LogDbSaver) Shutdown()
func (*LogDbSaver) Start ¶ added in v0.0.19
func (l *LogDbSaver) Start()
Click to show internal directories.
Click to hide internal directories.