Search Results for

    Show / Hide Table of Contents

    Interface ILogHandler

    Logs handler.

    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public interface ILogHandler

    Methods

    add_SendExceptionLog(LogExceptionDelegate)

    Declaration
    void add_SendExceptionLog(LogExceptionDelegate value)
    Parameters
    FlaxEngine.LogExceptionDelegate value

    add_SendLog(LogDelegate)

    Declaration
    void add_SendLog(LogDelegate value)
    Parameters
    FlaxEngine.LogDelegate value

    Log(LogType, Object, String)

    Logs a formatted message.

    Declaration
    void Log(LogType logType, Object context, string message)
    Parameters
    LogType logType

    The type of the log message.

    Object context

    Object to which the message applies.

    System.String message

    Message to log.

    LogException(Exception, Object)

    A variant of ILogHandler.LogFormat that logs an exception message.

    Declaration
    void LogException(Exception exception, Object context)
    Parameters
    System.Exception exception

    Runtime Exception.

    Object context

    Object to which the message applies.

    LogWrite(LogType, String)

    Logs the raw message to the log.

    Declaration
    void LogWrite(LogType logType, string message)
    Parameters
    LogType logType

    Type of the log message. Not: fatal will stop the engine. Error may show a message popup.

    System.String message

    The message contents.

    remove_SendExceptionLog(LogExceptionDelegate)

    Declaration
    void remove_SendExceptionLog(LogExceptionDelegate value)
    Parameters
    FlaxEngine.LogExceptionDelegate value

    remove_SendLog(LogDelegate)

    Declaration
    void remove_SendLog(LogDelegate value)
    Parameters
    FlaxEngine.LogDelegate value

    Events

    SendExceptionLog

    Occurs on sending a exception log message.

    Declaration
    event LogExceptionDelegate SendExceptionLog
    Event Type
    FlaxEngine.LogExceptionDelegate

    SendLog

    Occurs on sending a log message.

    Declaration
    event LogDelegate SendLog
    Event Type
    FlaxEngine.LogDelegate

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat