Documentation ¶
Index ¶
Constants ¶
View Source
const ENV_CART_LOG_LEVEL = "CART_LOG_LEVEL"
Variables ¶
View Source
var Logger = &logger{}
Functions ¶
func SetFileOutput ¶
func SetFileOutput(dir string)
Types ¶
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func DefaultFileWriter ¶
func DefaultFileWriter(dir string) *FileWriter
func NewFileWriter ¶
func NewFileWriter(dir string, spliter Spliter) *FileWriter
Click to show internal directories.
Click to hide internal directories.