ILoggerCategory

Description

interface Tinman.Core.Logging.ILoggerCategory

Derived from

ILogMessageSource

Base interface for classes that represent categories for ILogger objects.

Public / Methods

Child​At


public method ChildAt → (1)

idx in : int32

[0..ILoggerCategory.ChildCount-1]
The child category index.

returns → ILoggerCategory

The child category.

Returns the idx in-th child category.

Child​For


public method ChildFor → (1)

name in : string

[not-empty]
Name of the child category.

returns → ILoggerCategory

The child category.

Returns a child category of this category.

Logger​At


public method LoggerAt → (1)

idx in : int32

[0..ILoggerCategory.LoggerCount-1]
The logger index.

returns → ILogger

The logger object.

Returns the idx in-th logger in this category.

Logger​For


public method LoggerFor → (1)

name in : string

[not-empty]
Name of the logger.

returns → ILogger

The logger.

Returns a logger of this category.

Public / Attributes

Child​Count


public attribute ChildCount → (get)

value : int32

[>=0]
The number of child categories.

Returns the number of child categories.

Full​Name


public attribute FullName → (get)

value : string

[not-null]
The full name.

Returns the full name of this category.

Logger​Count


public attribute LoggerCount → (get)

value : int32

[>=0]
The number of loggers.

Returns the number of loggers in this category.

Name


public attribute Name → (get)

value : string

[not-null]
The name.

Returns the name of this category.

Parent


public attribute Parent → (get)

value : ILoggerCategory

The parent category or null if this category is the root.

Returns the parent category of this category.