paperless-ngx/src-ui/src/app/data/paperless-log.ts

28 lines
437 B
TypeScript
Raw Normal View History

export const DEBUG = 10
export const INFO = 20
export const WARNING = 30
export const ERROR = 40
export const CRITICAL = 50
export const LOG_LEVELS = [
{id: DEBUG, name: "DEBUG"},
{id: INFO, name: "INFO"},
{id: WARNING, name: "WARNING"},
{id: ERROR, name: "ERROR"},
{id: CRITICAL, name: "CRITICAL"}
]
2020-10-30 22:46:43 +01:00
export interface PaperlessLog {
id?: number
group?: string
message?: string
created?: Date
level?: number
2020-10-27 01:10:18 +01:00
}