Log level used for debug logging. By default, debug logging is only kept when the process is running in a
testing or development environment, unless otherwise configured.
Log level used for indicating errors during runtime of the process.
Log level used for indicating fatal errors during runtime of the process. These are errors that the process
is unable to recover from and needs to restart.
Log level used for general purpose logging.
Log level used for when content needs to be logged without the LogLevelType associated with it in
either the console, or the LogEntry.
An array of all the supported LogLevelType values. Anything not in this array is either not currently supported,
deprecated, or an invalid LogLevelType.
Log level used for indicating warnings during runtime of the process.
Variable used to hold the type information for the LogLevelType class, which is used to build the
LogLevelType's representation when converted to a string.
An instance of the Chalk dependency, which is used to provide color to log content displayed to the
console.
The code for the CustomType. Required.
A numerical representation for the log level, used to indicate if the log level priority.
The text readable value for the CustomType. Required.
The CustomType defined as a string value. Required.
Method that returns the type as a string for a CustomType.
The class' type as a string.
Helper method that gets the LogLevelType associated with the provided string value.
The LogLevelType that maps to the provided string.
Checks if two CustomTypes are equal to each other or not.
The first CustomType to check with.
The second CustomType to check with.
True if the CustomTypes are equal, otherwise false.
Strictly checks if two CustomTypes are equal to each other or not.
The first CustomType to check with.
The second CustomType to check with.
True if the CustomTypes are strict equal, otherwise false.
Converts the CustomType class to a string.
The CustomType's class converted to a string.
Validates that a supplied LogLevelType is valid.
The LogLevelType to validate.
True if the provided LogLevelType is valid, otherwise false.
Getter method for the LogLevelType's chalkColor value.
Getter method for the CustomType's code value.
Getter method for the CustomType's text value.
Getter method for the CustomType's type value.
Indicates if the LogLevelType is DEBUG.
True if the LogLevelType is debug, otherwise false.
Indicates if the LogLevelType is debug or greater.
True if the LogLevelType is debug or greater, otherwise false.
Checks if a CustomType is equal to a provided CustomType.
The CustomType to compare.
True if the provided CustomType is equal to the current CustomType, otherwise false.
Indicates if the LogLevelType is ERROR.
True if the LogLevelType is error, otherwise false.
Indicates if the LogLevelType is Error or greater.
True if the LogLevelType is error or greater, otherwise false.
Indicates if the LogLevelType is FATAL.
True if the LogLevelType is fatal, otherwise false.
Indicates if the provided log level is greater than the log level instance.
The log level to compare against.
True if the provided log level is greater, otherwise false.
Indicates if the provided log level is greater than or equal to the log level instance.
The log level to compare against.
True if the provided log level is greater than or equal, otherwise false.
Indicates if the LogLevelType is INFO.
True if the LogLevelType is info, otherwise false.
Indicates if the LogLevelType is info or greater.
True if the LogLevelType is info or greater, otherwise false.
Indicates if the LogLevelType is NONE.
True if the LogLevelType is none, otherwise false.
Strictly checks if a CustomType is equal to a provided CustomType.
The CustomType to compare.
True if the provided CustomType is strict equal to the current CustomType, otherwise false.
Validation method for the CustomType class. Ensures that a CustomType is built correctly.
An array with a true/false value indicating if the CustomType is valid
or not, and either an empty string when valid, or a string containing the error message when invalid.
Indicates if the LogLevelType is WARN
True if the LogLeveLType is warn, otherwise false.
Indicates if the LogLevelType is warn or greater.
True if the LogLevelType is warn or greater, otherwise false.
Converts the CustomType to a string.
The CustomType converted to a string value.
Creates an instance of the LogLevel type.
The code for the LogLevelType.
The readable value of the LogLevelType.
A color from the chalk API that is used when displaying content to the console.
A numerical representation of the log level, used to indicate log level severity.
Generated using TypeDoc
A class used to indicate the logging level of a message sent to the LogService.