Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogErrorFileName = "go-crawler.error.log" LogStdFileName = "go-crawler.log" DebugPrefix = "[DEBUG] " InfoPrefix = "[INFO] " ErrorPrefix = "[ERROR]" )
Variables ¶
View Source
var (
DebugMode = false
)
Functions ¶
func InitLogger ¶
func InitLogger(ops LoggerOptions)
Types ¶
type LoggerOptions ¶
Click to show internal directories.
Click to hide internal directories.