package
Version:
v3.0.12
Opens a new window with list of versions in this module.
Published: Feb 7, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func SetLogrusWriter(options ...func(logger *logrus.Logger))
SetLogrusWriter go-zero与第三方日志库logrus集成
!!!: 需要在 rest.MustNewServer() 后调用此方法,否则会被覆盖.
@param options 可以修改 Out、Formatter...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.