1.0.4 • Published 6 years ago

@elmah.io/stacktrace.js v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

stacktrace.js

A simple and easy jQuery plugin for highlighting .NET stack traces

Demo

stackTrace.js - demo

Initialization

$('.stacktrace').stackTrace();

Default values for classes

$('.stacktrace').stackTrace({
    frame: 'st-frame',
    type: 'st-type',
    method: 'st-method',
    paramsList: 'st-frame-params',
    paramType: 'st-param-type',
    paramName: 'st-param-name',
    file: 'st-file',
    line: 'st-line'
});

Ready to go css

pre, code {background-color:#333; color: #ffffff;}
.st-type {color: #0a8472; font-weight: bolder;}
.st-method {color: #70c9ba; font-weight: bolder;}
.st-frame-params {color: #ffffff; font-weight: normal;}
.st-param-type {color: #0a8472;}
.st-param-name {color: #ffffff;}
.st-file {color:#f8b068;}
.st-line {color:#ff4f68;}