Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Private category

category: Category

Methods

Protected buildLogMessage

  • buildLogMessage(msg: string, extraArgs?: __type | any[]): MessageType

Protected logDebug

  • logDebug(msg: string, extraArgs?: __type | any[]): void

Protected logError

  • logError(msg: string, extraArgs?: __type | any[]): void

Protected logException

  • logException(msg: string, error: ErrorType, extraArgs?: undefined | __type): void
  • Parameters

    • msg: string
    • error: ErrorType
    • Optional extraArgs: undefined | __type

    Returns void

Protected logInfo

  • logInfo(msg: string, extraArgs?: __type | any[]): void

Protected logTrace

  • logTrace(msg: string, extraArgs?: __type | any[]): void

Protected logWarning

  • logWarning(msg: string, extraArgs?: __type | any[]): void

Protected setLogLevel

  • setLogLevel(level: LogLevel, applyChildren?: boolean): void
  • description

    WARNING: This will override the entire category configuration, not just the LogLevel. DO NOT use in production.

    todo

    Keep current config settings and only update LogLevel. It is not apparent how to do this and may require a PR for https://github.com/mreuvers/typescript-logging

    Parameters

    • level: LogLevel
    • Default value applyChildren: boolean = false

      default: fase. If set to true then the level will be set for all child categories.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc