Created
April 12, 2019 19:26
-
-
Save BNPrashanth/e72b6a0c99f44dfeb891461e38e50b7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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