{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class LoggerSyncModeConfig | Unity Logging | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LoggerSyncModeConfig

    Use to set the synchronization mode of the logger

    Inheritance
    object
    LoggerSyncModeConfig
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Logging
    Assembly: solution.dll
    Syntax
    public class LoggerSyncModeConfig

    Properties

    Name Description
    Get

    Returns currently set minimal level

    Methods

    Name Description
    FatalIsSync()

    Sets SyncMode to FatalIsSync
    All messages are processed asynchronous, after they were logged. But if Fatal message is logged - log is flushed. Use this option if you want speed, but also want to make sure logs are not lost in case of Fatal error

    FullAsync()

    Sets SyncMode to FullAsync
    All messages are processed asynchronous, after they were logged. This is the fastest way, but can lead to lost messages in case of crashes

    FullSync()

    Sets SyncMode to FullSync
    All messages are processed immediately. Slowest mode, but all messages are guaranteed to be logged

    Set(SyncMode)

    Sets minimal level of logs

    In This Article
    Back to top
    Copyright © 2023 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)