Skip to content

BElluu/LoGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoGo - Work In Progress

Small and simple logger for GoLang

Usage

All you need is a setting where you want to use the logs (to console and/or to file) and the minimum log level.

LoggerConfiguration.
		WriteTo().
		Console().
		File("MyTestApp", "C:\PathForLogsLocation").
		MinimumLevel(LogLevel.DEBUG)
	Log.Information("This is information event.", "But I want to add time too: ", time.Now().Format("15:04:05"))
	Log.Warning("Just warning event :)")
	Log.Debug("I hope you will not use this in production")
	Log.Error("Something went wrong... :(")
	Log.Fatal("This should never, ever happen!", "Call to support: ", 123456789)

Console

image

File

image

License

MIT

About

Really simple logger for GoLang project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages