Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new ObjectBase(name: string, $injector: any): ObjectBase

Properties

Protected $injector

$injector: any

Private className

className: string

Static categoryBase

categoryBase: Category = new Category("object")

Static categoryMap

categoryMap: object

Type declaration

  • [key: string]: 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

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 log_debug

  • log_debug(message: string, ...args: any[]): void

Protected log_error

  • log_error(message: string, ...args: any[]): void

Protected log_info

  • log_info(message: string, ...args: any[]): void

Protected log_warn

  • log_warn(message: string, ...args: 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

Static Protected createOrGetCategory

  • createOrGetCategory(name: string): Category

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