Class Category

Log messages can be assigned to a category for which filters exist. The created category will append itself to the specified parent category.

Version

1

Constructors

  • Parameters

    • id: string

      The id of this category

    • Optional parent: Category

      A parent category, of which this category will be a sub category.

    Returns Category

Properties

id: string

The id of this category.

parent: undefined | Category

The parent category.

Methods

  • Generates the category string in which each parent category will be separated by a dot.

    Returns string

    A string with the syntax 'category.subcategory...'

  • Parameters

    Returns null | string