import { type configLoggerType, consoleTransport, logger } from "react-native-logs"; const levels = { error: 6, warn: 5, info: 4, http: 3, verbose: 2, debug: 1, silly: 0, }; const colors = { error: "redBright", warn: "yellowBright", info: "whiteBright", http: "blueBright", verbose: "cyanBright", debug: "greenBright", silly: "magentaBright", }; const defaultConfig: configLoggerType = { levels, severity: "silly", transport: consoleTransport, transportOptions: { colors, }, async: true, dateFormat: "iso", printLevel: true, printDate: true, enabled: true, }; const LOG = logger.createLogger(defaultConfig); export { LOG };