Options
All
  • Public
  • Public/Protected
  • All
Menu

A simple logger class that prefixes messages to the console.

Hierarchy

  • Logger

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

  • new Logger(name: string): Logger

Properties

name: string

The name of the logger, which is used to prefix the messages.

Accessors

  • get _prefix(): string
  • Prefix messages with an ISO-formatted timestamp and the name of the logger.

    Returns string

Methods

Generated using TypeDoc