Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for logging to stdout for live log monitoring.

Note: relative to the Console builtin in browsers, this implementation is fairly basic for now. It only supports a single argument, and does a basic toString operation on it. Use e.g. JSON.stringify on the input to retain more information on internal object structure.

Note: Messages are prefixed with the respective logel level, starting with an upper-case letter, e.g. "Log: ".

Hierarchy

  • Console

Index

Methods

Methods

error

  • error(message: any): any
  • Parameters

    • message: any

    Returns any

info

  • info(message: any): any
  • Parameters

    • message: any

    Returns any

log

  • log(message: any): any
  • Parameters

    • message: any

    Returns any

trace

  • trace(message: any): any
  • Parameters

    • message: any

    Returns any

warn

  • warn(message: any): any
  • Parameters

    • message: any

    Returns any

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method

Generated using TypeDoc