Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mysql/src/logger.ts>LoggerConfig

MySQL driver for Deno
Extremely Popular
Latest
interface LoggerConfig
import { type LoggerConfig } from "https://deno.land/x/mysql@v2.12.1/src/logger.ts";

Properties

optional
enable: boolean

Enable logging (default: true)

optional
level: log.LevelName

The minimal level to print (default: "INFO")

optional
logger: log.Logger

A deno_std/log.Logger instance to be used as logger. When used, level is ignored.