logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLogSettings

    Abstract base class for Unity-based logging configuration settings that implements ILogSettings.
    Provides ScriptableObject-based configuration for logging verbosity, formatting options, and per-category overrides.

    Inheritance
    object
    UnityLogSettings
    UnityConsoleLogSettings
    Implements
    ILogSettings
    Namespace: Serenity.Logging.Infrastructure.Settings
    Assembly: Serenity.UnityGlobal.Infrastructure.dll
    Syntax
    public abstract class UnityLogSettings : ScriptableObject, ILogSettings

    Constructors

    UnityLogSettings()

    Declaration
    protected UnityLogSettings()

    Fields

    ShowCategory

    Declaration
    public bool ShowCategory
    Field Value
    Type Description
    bool

    Whether to include the log category in message formatting.

    ShowTimestamps

    Declaration
    public bool ShowTimestamps
    Field Value
    Type Description
    bool

    Whether to include timestamps in log message formatting.

    UseRichText

    Declaration
    public bool UseRichText
    Field Value
    Type Description
    bool

    Whether to use Unity's rich text formatting in log messages.

    Verbosity

    Declaration
    public LogVerbosity Verbosity
    Field Value
    Type Description
    LogVerbosity

    The global logging verbosity level that determines which log messages are displayed.

    overrides

    Declaration
    public LogCategoryVerbosityOverride[] overrides
    Field Value
    Type Description
    LogCategoryVerbosityOverride[]

    Array of category-specific verbosity overrides that allow fine-grained control over logging per service or component.

    Properties

    CategoryVerbosity

    Gets the array of category-specific verbosity overrides converted to domain objects.
    Returns an empty array if no overrides are configured, otherwise converts each override to its domain representation.

    Declaration
    public LogCategoryVerbosity[] CategoryVerbosity { get; }
    Property Value
    Type Description
    LogCategoryVerbosity[]

    Array of LogCategoryVerbosity value objects representing the overrides

    Implements

    ILogSettings
    In this article
    © 2026 Serenity. All Rights Reserved