Documentation Menu
How To
Topic | Description |
---|---|
Adding request headers | Adding request headers to log requests |
AJAX error handling | Logging AJAX issues, including timeouts, errors and delays. |
Angular 2+ logging to the server | Logging JavaScript exceptions to the server in Angular 2+ applications. |
AngularJs Error Handling | Logging JavaScript exceptions and AJAX issues to the server in AngularJs applications. |
Console log | Replacing console.log with JSNLog JavaScript loggers |
Content Security Policy (CSP) | Content Security Policy compliance |
Setting the url to send logs to | How to set the url where jsnlog.js sends log messages. |
Logging cyclic references | Using the serialize option to log objects with cyclic references |
Demos and sample code | Simple working sample code |
Lost connection handling | Handling losing the connection to the server. |
JavaScript Error Handling | Logging uncaught JavaScript errors. |
Javascript Try Catch | Logging exceptions in a catch block. |
Loading jsnlog.js | Various options to load the jsnlog.js library |
Log Message Batching | Batching multiple log messages in one log request to the server. |
Log Message Format | Format of JSON objects containing log messages |
Numeric Severities | JSNLog's numeric severities. |
Obfuscated Script Errors | Preventing the browser from obfuscating script errors |
Using Request Ids | Correlating JavaScript and server side log messages with request ids. |
Structured JavaScript Logging | Making it easier to search and sort JavaScript events. |