Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogOptionRequestBody ¶ added in v1.1.0
func MustGetFileHook ¶ added in v1.2.23
Types ¶
type IDotpeLogger ¶ added in v1.2.14
type IDotpeLogger interface { ILogWriter Gin() gin.HandlerFunc }
ILogger ...
func MustGet ¶ added in v1.2.15
func MustGet(opts ...Option) IDotpeLogger
InitLogger sets up the logger object with LoggerOptions provided. It returns reference logger object and error
type ILogWriter ¶ added in v1.2.14
func DefaultLogWriter ¶ added in v1.2.15
func DefaultLogWriter() ILogWriter
func LogWriter ¶ added in v1.2.15
func LogWriter() ILogWriter
type Option ¶ added in v1.1.0
type Option func(dlogger *dlogger)
func WithAccessLogOptions ¶ added in v1.1.0
func WithAccessLogOptions(opts ...accessLogOption) Option
func WithAppInfo ¶ added in v1.1.0
func WithLogOptions ¶ added in v1.1.0
func WithLogOptions(opts ...logOption) Option
Click to show internal directories.
Click to hide internal directories.