// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

import { ConsoleHandler } from "./console_handler.ts";
import type { LogConfig } from "./logger.ts";

export const DEFAULT_LEVEL = "INFO";

export const DEFAULT_CONFIG: LogConfig = {
  handlers: {
    default: new ConsoleHandler(DEFAULT_LEVEL),
  },

  loggers: {
    default: {
      level: DEFAULT_LEVEL,
      handlers: ["default"],
    },
  },
};

// denoCacheMetadata={"headers":{"set-cookie":"__cf_bm=7Z8Uq8dnFNI3oKihrPdbzQ7TNpIbAc5egPEBLXrEWIc-1785241875.2300954-1.0.1.1-IM71LUrPVoWNk.SMt3n78HECZ1tWDgaZ3yJRCZEMrUtU2wRWvdAsNyK8EW8z_x6VbD8cUzJD9gDqgqcKq9Fi_2fnRg5UrRufXMOEKUupZws2BLnuyd7ePGXSFqCg0N7z; HttpOnly; SameSite=None; Secure; Path=/; Domain=jsr.io; Expires=Tue, 28 Jul 2026 13:01:15 GMT","content-type":"text/typescript","access-control-allow-origin":"*","cf-ray":"a223e6582b997db6-LAX","alt-svc":"h3=\":443\"; ma=86400","cache-control":"public, max-age=31536000, immutable","x-content-type-options":"nosniff","x-jsr-backend":"modules","server":"cloudflare","x-robots-tag":"noindex","vary":"Origin","nel":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}","report-to":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=1BWrv%2Fb9buyA7lV%2B0efkw7ZrMBfcXkFBoP9VyR%2BN%2BhlWNaNFir80YuN%2FZiesMkFfD%2BgOCrDnvTl%2FTQd22qQb5IzxhPBtY4LvNUSAp%2FcO7xXTQGV0iromT10%3D\"}]}","content-length":"427","access-control-expose-headers":"*","content-security-policy":"default-src 'none'; script-src 'none'; style-src 'none'; img-src 'none'; font-src 'none'; connect-src 'none'; frame-src 'none'; object-src 'none'; frame-ancestors 'none'; sandbox; form-action 'none';","etag":"\"5e4e1b18e55072b5bf5733b1e032df48\"","cross-origin-resource-policy":"cross-origin","date":"Tue, 28 Jul 2026 12:31:15 GMT"},"url":"https://jsr.io/@std/log/0.224.7/_config.ts","time":1785241875}