Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { BaseDir string Level logrus.Level ReportCaller bool LogFilePrefix string RotateDuration time.Duration // ExtLoggerWriter write to other output, like os.Stdout in dev. Default write to logFile ExtLoggerWriter []io.Writer CustomTimeLayout string }
Options logger setup options, BaseDir is requirement, RewriteDuration default 7 days
Click to show internal directories.
Click to hide internal directories.