Skip to content

Instantly share code, notes, and snippets.

@BNPrashanth
Created April 12, 2019 19:26
Show Gist options
  • Save BNPrashanth/e72b6a0c99f44dfeb891461e38e50b7a to your computer and use it in GitHub Desktop.
Save BNPrashanth/e72b6a0c99f44dfeb891461e38e50b7a to your computer and use it in GitHub Desktop.
package main
import (
u "go-logger/src/utils"
)
func main() {
// Strting the Application
u.GeneralLogger.Println("Starting..")
// Execution od Code
u.GeneralLogger.Println("Running Process 1")
u.GeneralLogger.Println("Running Process 2")
u.ErrorLogger.Println("An Error Occured: Error abcd")
u.GeneralLogger.Println("Running Process i")
u.ErrorLogger.Println("An Error Occured: Error efgh")
u.GeneralLogger.Println("Running Process n")
// Ending the Application
u.GeneralLogger.Println("Execution Completed..")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment