# Type Alias LevelChangeEventListener<CustomLevels, UseOnlyCustomLevels>

LevelChangeEventListener<CustomLevels, UseOnlyCustomLevels>: ((lvl: LevelWithSilentOrString, val: number, prevLvl: LevelWithSilentOrString, prevVal: number, logger: Logger<CustomLevels, UseOnlyCustomLevels>) => void)

#### Type Parameters

- CustomLevels extends string = never
- UseOnlyCustomLevels extends boolean = boolean

- Defined in node_modules/pino/pino.d.ts:234