leisunstar / logs

simple easy logs for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logs

##The logs is a simple and easy to use the go source code, Basic data structure support. ##Apache License, Version 2.0

#for example package main

import "logs"

func main() {
	if err := logs.Init("./logs.conf"); err != nil {
		panic(err)
	}
	logs.Debug("%s", "Debug")
	logs.Info("%s", "Info")
	logs.Warning("%s", "Warning")
	logs.Error("%s", "Error")
}

About

simple easy logs for golang

License:Apache License 2.0


Languages

Language:Go 100.0%