Documentation ¶
Overview ¶
Package log is used to print logs based of log types
Index ¶
Constants ¶
View Source
const ( //INFO is for informative logs INFO = "INFO" //DEBUG is for debugging the app DEBUG = "DEBUG" //WARN is for warning signatures WARN = "WARN" //ERROR is for errors ERROR = "ERROR" //PANIC is for panic log prefix PANIC = "PANIC" )
Log types for logger
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(l ...interface{})
Debug logs the debug logs of the application if debug logs are not switched off
Types ¶
Click to show internal directories.
Click to hide internal directories.