Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLogPath = "./logs/micro.log"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*option)
Option custom setup config
func WithDebugLevel ¶
func WithDebugLevel() Option
WithDebugLevel only greater than 'level' will output
func WithErrorLevel ¶
func WithErrorLevel() Option
WithErrorLevel only greater than 'level' will output
func WithInfoLevel ¶
func WithInfoLevel() Option
WithInfoLevel only greater than 'level' will output
func WithLogPath ¶
func WithWarnLevel ¶
func WithWarnLevel() Option
WithWarnLevel only greater than 'level' will output
Click to show internal directories.
Click to hide internal directories.