Documentation Menu

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');