package
0.0.0-20200114004523-0c93acb6716f
Repository: https://github.com/adampresley/webframework.git
Documentation: pkg.go.dev

# Functions

LogFactory returns a logger in the required format */.
NewJSONLogger returns an instance of an ILogger interface set to the JSON logger format */.
NewSimpleLogger returns an instance of an ILogger interface set to the simple logger format */.
StringToLogFormat converts a specified string to a LogFormat.
StringToLogType converts a specified string to a LogType.

# Constants

Constants for the type and levels of logging */.
Constants for the type and levels of logging */.
Constants for the type and levels of logging */.
Constants for the type and levels of logging */.
Constants for the available log formats */.
Constants for the available log formats */.
Constants for the type and levels of logging */.
Constants for the type and levels of logging */.

# Structs

JSONLogger is a console logger that has a format of `{"applicationName": "{ApplicationName}", "type": "{Type}"", "message": "{Message}"}` */.
Logger represents the basic instance of a logging object.
SimpleLogger is a basic console logger that has a format of `{ApplicationName}: {Type} - {Message}` */.

# Interfaces

ILogger is an interface that describes how a logger should behave */.

# Type aliases

LogFormat describes how to format log messages */.
LogType represents a type and level of logging */.