Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 495 Bytes

readme.md

File metadata and controls

22 lines (17 loc) · 495 Bytes

Simploger

Simploger is a simple-to-use, level based logger for go programs.

GoDoc

tl;dr

  import "github.com/nmabhinandan/simploger"
  func main() {
    sl := &simploger.Simplogger {
      Verbosity: 1,
      Logfile: simploger.Logfile{
        Win: "C:\\MyApp\\logs",
        Nix: "var/log/myapp/logs",
      },
    },

    sl.Err("Crashed!! ")
  }