35 lines
593 B
TypeScript
35 lines
593 B
TypeScript
/**
|
|
* This enum contains the different logging levels of this application
|
|
*/
|
|
export enum LogLevel {
|
|
/**
|
|
* something so horrible happened that the application is about to bite the dust
|
|
*/
|
|
fatal,
|
|
|
|
/**
|
|
* something happened which should not have happened, but is recoverable
|
|
*/
|
|
error,
|
|
|
|
/**
|
|
* something bad happened, as it be sometimes
|
|
*/
|
|
warning,
|
|
|
|
/**
|
|
* the developer wants to say something important, not necessarily bad
|
|
*/
|
|
notice,
|
|
|
|
/**
|
|
* information only for the interested
|
|
*/
|
|
info,
|
|
|
|
/**
|
|
* meant for development purposes
|
|
*/
|
|
debug,
|
|
}
|