logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct LogCategoryVerbosity

    Value object representing the verbosity settings for a specific log category.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Logging.Domain.ValueObjects
    Assembly: Serenity.Global.Domain.dll
    Syntax
    public readonly struct LogCategoryVerbosity

    Constructors

    LogCategoryVerbosity(string, LogVerbosity)

    Initializes a new instance of the LogCategoryVerbosity struct.

    Declaration
    public LogCategoryVerbosity(string category, LogVerbosity verbosity)
    Parameters
    Type Name Description
    string category

    The category of the log entry.

    LogVerbosity verbosity

    The verbosity level for the log category.

    Fields

    Category

    Declaration
    public readonly string Category
    Field Value
    Type Description
    string

    The category of the log entry.

    Verbosity

    Declaration
    public readonly LogVerbosity Verbosity
    Field Value
    Type Description
    LogVerbosity

    The verbosity level for the log category.

    Methods

    IsMatch(string)

    Determines if the given category matches this verbosity setting's category.

    Declaration
    public bool IsMatch(string category)
    Parameters
    Type Name Description
    string category

    The category to check.

    Returns
    Type Description
    bool

    True if the categories match; otherwise, false.

    In this article
    © 2026 Serenity. All Rights Reserved