Cutwater

Cutwater

  • Docs
  • Help
  • GitHub

LoggingEvent

@codification/cutwater-logging > LoggingEvent

Class

Represents a logging message and all required context.

beta:

Hierarchy

LoggingEvent

Constructors

  • constructor

Properties

  • level
  • logger
  • message

Constructors

constructor

⊕ new LoggingEvent(logger: Logger, level: Level, message: any): LoggingEvent

Defined in LoggingEvent.ts:8

Creates an instance of a LoggingEvent.

Parameters:

NameTypeDescription
loggerLoggerthe logger that should output the message
levelLevelthe level associated with the message
messageanythe message to be logged

Returns: LoggingEvent


Properties

level

● level: Level

Defined in LoggingEvent.ts:18

the level associated with the message


logger

● logger: Logger

Defined in LoggingEvent.ts:17

the logger that should output the message


message

● message: any

Defined in LoggingEvent.ts:20

the message to be logged


  • Class
  • Hierarchy
    • Constructors
    • Properties
  • Constructors
    • constructor
  • Properties
    • level
    • logger
    • message
Cutwater
Docs
Getting Started
Community
Stack Overflow
More
GitHubStar
Copyright © 2019 Codification.org