Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

untillpro/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logger

Simple go logger with logging level. Default output will be like this:

09/28 17:40:57.064: **** ERR: [logger.Test_BasicUsage:26]: Hello world arg1 arg2
09/28 17:40:57.082: !!! WARN: [logger.Test_BasicUsage:27]: My warning
09/28 17:40:57.082: === INFO: [logger.Test_BasicUsage:28]: My info
09/28 17:40:57.082: --- DEBU: [logger.Test_BasicUsage:39]: Now you should see my Debug
09/28 17:40:57.082: !!! WARN: [logger.Test_BasicUsage:45]: You should see my warning
09/28 17:40:57.082: !!! WARN: [logger.Test_BasicUsage:46]: You should see my info
09/28 17:40:57.082: **** ERR: [logger.(*mystruct).logMe:59]: OOPS

See impl_test.Test_BasicUsage for examples

Links

Releases

No releases published

Packages

No packages published

Languages