{
 "kind": "tool",
 "slug": "loglevel",
 "path": "tools/loglevel/",
 "name": "loglevel",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Logging, monitoring and analytics",
   "tools/observability-analytics/"
  ]
 ],
 "lead": "Minimal lightweight logging library for JavaScript with reliable log level methods.",
 "chips": [
  {
   "label": "Logging, monitoring and analytics",
   "path": "tools/observability-analytics/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install loglevel"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pimterry/loglevel"
  },
  {
   "label": "Website",
   "href": "https://github.com/pimterry/loglevel"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/pimterry/loglevel"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Mar 20, 2025",
   "note": "Latest GitHub release Sep 6, 2024. ",
   "src": "https://github.com/pimterry/loglevel"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#69 of 121 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What loglevel does",
   "parts": [
    {
     "t": "prose",
     "text": "Minimal lightweight logging library for JavaScript with reliable log level methods."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "loglevel popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "59",
       "of": "/ 100",
       "l": "Gid Score, #1117 overall"
      },
      {
       "n": "34.4M",
       "l": "downloads a week, npm"
      },
      {
       "n": "2,745",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How loglevel is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "loglevel is a dependency in 3 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 22 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Pino (87 projects).",
      "Projects that use it most often also use Solana Web3.js (45.5%), Solana SPL Token (40.9%), Testing Library (36.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 45.5% of its projects",
       "v": "Solana Web3.js",
       "path": "tools/solana-web3-js/"
      },
      {
       "l": "In 40.9% of its projects",
       "v": "Solana SPL Token",
       "path": "tools/solana-spl-token/"
      },
      {
       "l": "In 36.4% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 27.3% of its projects",
       "v": "Web Vitals",
       "path": "tools/web-vitals/"
      },
      {
       "l": "In 77.3% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 31.8% of its projects",
       "v": "jsdom",
       "path": "tools/jsdom/"
      },
      {
       "l": "In 59.1% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about loglevel",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Tidelift: https://tidelift.com/funding/github/npm/loglevel"
       ]
      },
      {
       "title": "More in Logging, monitoring and analytics",
       "path": "tools/observability-analytics/",
       "items": [
        {
         "text": "Vercel Analytics",
         "path": "tools/vercel-analytics/"
        },
        {
         "text": "psutil",
         "path": "tools/psutil/"
        },
        {
         "text": "Vercel Speed Insights",
         "path": "tools/vercel-speed-insights/"
        },
        {
         "text": "Sentry for Next.js",
         "path": "tools/sentry-nextjs/"
        },
        {
         "text": "OpenTelemetry",
         "path": "tools/opentelemetry/"
        },
        {
         "text": "structlog",
         "path": "tools/structlog/"
        },
        {
         "text": "PostHog JS",
         "path": "tools/posthog-js/"
        },
        {
         "text": "Loguru",
         "path": "tools/loguru/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "loglevel",
       "me": true,
       "facts": [
        "MIT",
        "Gid 59",
        "34.4M/wk"
       ]
      },
      {
       "name": "Pino",
       "why": "Ultra-fast JSON logger for Node.js with minimal overhead.",
       "path": "tools/pino/",
       "facts": [
        "MIT",
        "Gid 78",
        "81.5M/wk"
       ]
      },
      {
       "name": "Winston",
       "why": "Versatile Node.js logging library supporting multiple transports and levels.",
       "path": "tools/winston/",
       "facts": [
        "MIT",
        "Gid 76",
        "37.3M/wk"
       ]
      }
     ],
     "more": "Compare loglevel with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install loglevel"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for loglevel yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm loglevel"
  ],
  [
   "Category",
   "Logging, monitoring and analytics"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "58.8"
  ],
  [
   "Rank in category",
   "#69 of 121"
  ],
  [
   "GitHub",
   "pimterry/loglevel"
  ],
  [
   "Last change",
   "Mar 20, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/pimterry.png"
}