UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

8 lines (7 loc) • 171 B
import { LOG_LEVELS } from '../log-levels.constant.js'; /** * @publicApi */ export function isLogLevel(maybeLogLevel) { return LOG_LEVELS.includes(maybeLogLevel); }