Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method logger.Logger.create
import { logger } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/index.ts";
const { Logger } = logger;

Create a new logger based on the given driver configuration.

Parameters

driverConfig: { logging?: LoggingConfig; }

the driver configuration as supplied by the user.

Returns

a new logger instance or a no-op logger when not configured.