Class BDJSLog

Hierarchy

  • Error
    • BDJSLog

Constructors

Properties

message: string = ''
name: string = ''
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • BDJSLog a colored debug message into the console.

    Parameters

    • message: string

      The debug message.

    Returns void

  • BDJSLog a colored error message into the console.

    Parameters

    • message: string

      The error message.

    Returns void

  • BDJSLog a colored information message into the console.

    Parameters

    • message: string

      The information message.

    Returns void

  • BDJSLog a colored warning message into the console.

    Parameters

    • message: string

      The warning message.

    Returns void

Generated using TypeDoc