import { createLogger } from '@redwoodjs/api/logger' /** * Creates a logger with RedwoodLoggerOptions * * These extend and override default LoggerOptions, * can define a destination like a file or other supported pin log transport stream, * and sets where or not to show the logger configuration settings (defaults to false) * * @param RedwoodLoggerOptions * * RedwoodLoggerOptions have * @param {options} LoggerOptions - defines how to log, such as pretty printing, redaction, and format * @param {string | DestinationStream} destination - defines where to log, such as a transport stream or file * @param {boolean} showConfig - whether to display logger configuration on initialization */ export const logger = createLogger({})