Skip to content

Commit

Permalink
Warning, Notice, Log and debug methods added
Browse files Browse the repository at this point in the history
  • Loading branch information
apsdehal committed Sep 28, 2014
1 parent c8a7c38 commit 82a828c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions logger.go
Expand Up @@ -104,4 +104,24 @@ func (*l Logger) Panic(message string) {

func (*l Logger) Critical(message string) {
l.Log("CRITICAL", message)
}

func (*l Logger) Error(message string) {
l.Log("ERROR", message)
}

func (*l Logger) Warning(message string) {
l.Log("WARNING", message)
}

func (*l Logger) Notice(message string) {
l.Log("NOTICE", message)
}

func (*l Logger) Info(message string) {
l.Log("INFO", message)
}

func (*l Logger) Debug(message string) {
l.Log("DEBUG", message)
}

0 comments on commit 82a828c

Please sign in to comment.