JSNLog
  • Home
  • Installation
  • Getting Started
  • Documentation
  • Source
  • Support
.Net Core + JS.Net Framework + JSNode + JSJS Only
Tweet
cdnjs
Documentation Menu
jsnlogjs.js ▶ JL Namespace and Method ▶ createConsoleAppender Method

createConsoleAppender Method

Creates a ConsoleAppender.

Definition

createConsoleAppender(appenderName: string): ConsoleAppender

Parameters

appenderName Name of the new appender. Required. Must be unique across all appenders.

Return Value

A new ConsoleAppender.

Examples

This creates an appender "appender1".

var appender=JL.createConsoleAppender('appender1');

Documentation Menu

  1. Installation
  2. Getting Started
  3. How To
    1. Adding request headers
    2. AJAX error handling
    3. Angular 2+ logging to the server
    4. AngularJs Error Handling
    5. Content Security Policy (CSP)
    6. Setting the url to send logs to
    7. Lost connection handling
    8. JavaScript Error Handling
    9. Javascript Try Catch
    10. Log Message Batching
    11. Log Message Format
    12. Numeric Severities
    13. Obfuscated Script Errors
  4. jsnlogjs.js
    1. AjaxAppender Object
      1. sendBatch Method
      2. setOptions Method
    2. __jsnlog_configure function
    3. ConsoleAppender Object
      1. sendBatch Method
      2. setOptions Method
    4. Exception Object
    5. JL Namespace and Method
      1. createAjaxAppender Method
      2. createConsoleAppender Method
      3. getAllLevel Method
      4. getDebugLevel Method
      5. getErrorLevel Method
      6. getFatalLevel Method
      7. getInfoLevel Method
      8. getOffLevel Method
      9. getTraceLevel Method
      10. getWarnLevel Method
      11. JL Method
      12. setOptions Method
    6. Logger Object
      1. debug Method
      2. error Method
      3. fatal Method
      4. fatalException Method
      5. info Method
      6. log Method
      7. setOptions Method
      8. trace Method
      9. warn Method
© 2012-2025 Mattijs Perdeck | License: MIT