Minimum log level for Prorm's built-in logger.
This enum is a companion to the existing string-literal union used for loggingLevel ('debug' | 'info' | 'warn' | 'error'). Both forms are accepted wherever this field appears, so existing string literals continue to work unchanged.
loggingLevel
'debug' | 'info' | 'warn' | 'error'
import { LoggingLevel } from 'prorm';new Prorm({ dialect: 'postgres', loggingLevel: LoggingLevel.Warn,});// Equivalent to the string-literal form:new Prorm({ dialect: 'postgres', loggingLevel: 'warn',}); Copy
import { LoggingLevel } from 'prorm';new Prorm({ dialect: 'postgres', loggingLevel: LoggingLevel.Warn,});// Equivalent to the string-literal form:new Prorm({ dialect: 'postgres', loggingLevel: 'warn',});
Minimum log level for Prorm's built-in logger.
This enum is a companion to the existing string-literal union used for
loggingLevel('debug' | 'info' | 'warn' | 'error'). Both forms are accepted wherever this field appears, so existing string literals continue to work unchanged.Example