Options
All
  • Public
  • Public/Protected
  • All
Menu

Categorized service for logging, where logging is bound to categories which can log horizontally through specific application logic (services, group(s) of components etc). For the standard way of logging like most frameworks do these days, use LFService instead. If you want fine grained control to divide sections of your application in logical units to enable/disable logging for, this is the service you want to use instead. Also for this type a browser plugin will be available.

Hierarchy

  • CategoryServiceFactory

Index

Methods

Static clear

  • clear(): void

Static getLogger

Static setConfigurationCategory

Static setDefaultConfiguration

  • Set the default configuration. New root loggers created get this applied. If you want to reset all current loggers to have this applied as well, pass in reset=true (the default is false). All categories runtimesettings will be reset then as well.

    Parameters

    • config: CategoryConfiguration

      The new default configuration

    • Default value reset: boolean = true

      If true, will reset all runtimesettings for all loggers/categories to these. Default is true.

    Returns void

Generated using TypeDoc