# coolog **Repository Path**: gitlon-pro/coolog ## Basic Information - **Project Name**: coolog - **Description**: my golang logging tool - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-21 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Coolog ### Install & Update ``` go get -u github.com/5046312/coolog ``` ### Usage ``` import "github.com/5046312/coolog" ... // Set Log Config conf := coolog.FileConfig() conf.Single = true conf.Ext = ".bin" conf.Path = "./runtime/lll/" coolog.SetFileLog(conf) // Write Log coolog.Debug("Write Debug in file") ``` Or call directly, which will operate using the default configuration of the system ``` import "github.com/5046312/coolog" ... // Not Set Config, Write Log With Default Config coolog.Debug("Write Debug in file") ```