npm version Samples

Logging to from Express

The integration for Express has been deprecated. For details on how to log errors to from Express, check out

That's right. doesn't only work with .NET. To integrate into a Node Express web application, install the npm package

npm install

Add the following to your Express application:

var elmah = require("");
var express = require("express");

var app = express();
app.use({logId:"LOG_ID", application:"My App Name", version: "42.0.0"}));

Replace LOG_ID with your log ID (Where is my log ID?). Every error is logged to

This article was brought to you by the team. is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening and help you fix errors fast.

See how we can help you monitor your website for crashes Monitor your website