Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ILogMessage Interface

    Namespace: Stride.Core.Diagnostics
    Assembly: Stride.Core.dll

    The base interface for log messages used by the logging infrastructure.

    public interface ILogMessage
    Name Description
    Properties
    ExceptionInfo

    Gets or sets the exception info.

    Module

    Gets or sets the module.

    Text

    Gets or sets the text.

    Type

    Gets or sets the type of this message.

    | Improve this Doc View Source

    Properties


    ExceptionInfo

    Gets or sets the exception info.

    ExceptionInfo ExceptionInfo { get; }
    Property Value
    Type Description
    ExceptionInfo

    Module

    Gets or sets the module.

    string Module { get; set; }
    Property Value
    Type Description
    System.String

    The module.

    Remarks

    The module is an identifier for a logical part of the system. It can be a class name, a namespace or a regular string not linked to a code hierarchy.


    Text

    Gets or sets the text.

    string Text { get; set; }
    Property Value
    Type Description
    System.String

    The text.


    Type

    Gets or sets the type of this message.

    LogMessageType Type { get; set; }
    Property Value
    Type Description
    LogMessageType

    The type.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    LogMessageExtensions.IsDebug(ILogMessage)
    LogMessageExtensions.IsVerbose(ILogMessage)
    LogMessageExtensions.IsInfo(ILogMessage)
    LogMessageExtensions.IsWarning(ILogMessage)
    LogMessageExtensions.IsError(ILogMessage)
    LogMessageExtensions.IsFatal(ILogMessage)
    LogMessageExtensions.IsAtLeast(ILogMessage, LogMessageType)
    LogMessageExtensions.IsAtMost(ILogMessage, LogMessageType)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation