From Ajax Patterns
If you use .Net, JSNLog has server side extensions that receive log data from the browser and have it logged on the server. And it lets you configure your loggers in your web.config.
- Log4j type organization, with named loggers, severity levels, inheritance and appenders;
- Filter by browser user agent (for example, log only when running on IE8);
- Suppress all messages that match a regular expression;
- Detect duplicate messages (such as produced in a loop) and suppress them;
- Log trace messages in a browser side buffer, and only send them if there is a fatal message for an exception. Get all the data you need, but only when you need it;
- Use Request ID to track what log data was produced for a given request;
- Log objects as well as strings;
- If log data is expensive to produce, only produce it if the logger is switched on.
Additional features if you use Microsoft .Net:
- Receive log data on the server and pass it on to your server side logger, such as NLOG, Log4Net or Elmah;
- Configure your loggers in your web.config.
It supports AMD (i.e. RequireJS), CommonJS (i.e. Node.js), and direct usage (e.g. loading globally with a <script> tag) out of the box, and is designed to be extremely easy to quickly integrate with any other project to get core logging functionality available in any project with minimal hassle.
loglevel is distributed under the very liberal MIT licence.
- based on Java's log4j, implementing loggers, appenders, layouts and levels, providing a familiar interface;
- powerful log console with severity filters, searching (including regular expression searches) and command line;
- log console may be placed anywhere within your page or in a pop-up window;
- flexible Ajax logger that posts log messages back to the server;
- several layouts for flexible formatting of log messages, including XML, JSON, and Pattern layouts;
- crunched and stub versions of the main .js file included in the distribution;
- Standard, Lite and Production versions.
- Internet Explorer 5+ for Windows
- Mozilla, Firefox, Netscape
- Google Chrome
- Safari 1.3+
- Opera 7.5+
- Konqueror 3.4+
- JSLog's focus is on ease of integration and deployment, providing a logging infrastructure with minimal performance impacts, and allowing you to easily "productionize" you code (even with the logging statements still included), by changing one configuration setting.
- Open-source by Andre Lewis
- DummyAppender: log nothing.
- ConsoleAppender: open a new window in the browser or an inline div element and insert log messages in real time.
- WindowsEventAppender: send log messages in the MS Windows event manager (Internet Explorer only).
- FileAppender: write log messages in a local file on the client (IE and Mozilla).
- AjaxAppender: allow to send log messages to a remote server with asynchronous HTTP request.
- MetatagAppender: add log messages as meta data.
Many Appender can be used in a same time.
To format the logs there are several "Layout" implementations available.
Log4js is distributed under the Apache License, Version 2.0.
jsTracer was written to help fill this void.
fvlogger This creates colorful logging lines which is great for distinguishing specific lines in a massive log file.
The code (blackbird.js, blackbird.css) and image assets (blackbird_panel.png, blackbird_icons.png) were created by G. Scott Olson.