docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UnityDebugLogSink

    Unity Debug.Log sink class

    Inheritance
    object
    SinkSystemBase
    UnityDebugLogSink
    Implements
    IDisposable
    Inherited Members
    SinkSystemBase.SinkId
    SinkSystemBase.IsInitialized
    SinkSystemBase.Handle
    SinkSystemBase.SystemConfig
    SinkSystemBase.Dispose()
    SinkSystemBase.ScheduleUpdate(LogControllerScopedLock, JobHandle)
    SinkSystemBase.NeedsStackTrace()
    SinkSystemBase.SetMinimalLogLevel(LogLevel)
    SinkSystemBase.GetMinimalLogLevel()
    SinkSystemBase.OnSinkFatalError(FixedString512Bytes)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Logging.Sinks
    Assembly: Unity.Logging.dll
    Syntax
    [BurstCompile]
    public class UnityDebugLogSink : SinkSystemBase, IDisposable

    Methods

    Initialize(Logger, SinkConfiguration)

    Initialization of the sink using Logger and SinkConfiguration of this Sink

    Declaration
    public override void Initialize(Logger logger, SinkConfiguration systemConfig)
    Parameters
    Type Name Description
    Logger logger

    Logger that owns the sink

    SinkConfiguration systemConfig

    Configuration

    Overrides
    SinkSystemBase.Initialize(Logger, SinkConfiguration)

    ToSinkStruct()

    Creates LogController.SinkStruct

    Declaration
    public override LogController.SinkStruct ToSinkStruct()
    Returns
    Type Description
    LogController.SinkStruct

    SinkStruct

    Overrides
    SinkSystemBase.ToSinkStruct()

    Implements

    IDisposable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)