npm version Samples

Logging from Express

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.

Monitor your website