Search Results for

    Show / Hide Table of Contents

    Class Logger

    Inheritance
    object
    Logger
    CurlLogger
    WebSocketLogger
    Implements
    ILogger
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9
    Assembly: Glitch9.dll
    Syntax
    public class Logger : ILogger

    Constructors

    | Edit this page View Source

    Logger(string, TraceLevel)

    Declaration
    public Logger(string tag, TraceLevel logLevel = TraceLevel.Info)
    Parameters
    Type Name Description
    string tag
    TraceLevel logLevel

    Properties

    | Edit this page View Source

    DoNotLogPredicate

    Declaration
    public Func<bool> DoNotLogPredicate { get; set; }
    Property Value
    Type Description
    Func<bool>
    | Edit this page View Source

    LogLevel

    Declaration
    public TraceLevel LogLevel { get; set; }
    Property Value
    Type Description
    TraceLevel
    | Edit this page View Source

    Tag

    Declaration
    public string Tag { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Error(string, string, string)

    Declaration
    public virtual void Error(string error, string callerMemberName = "", string callerFilePath = "")
    Parameters
    Type Name Description
    string error
    string callerMemberName
    string callerFilePath
    | Edit this page View Source

    Exception(Exception, string, string)

    Declaration
    public virtual void Exception(Exception exception, string callerMemberName = "", string callerFilePath = "")
    Parameters
    Type Name Description
    Exception exception
    string callerMemberName
    string callerFilePath
    | Edit this page View Source

    Info(string, string, string)

    Declaration
    public virtual void Info(string message, string callerMemberName = "", string callerFilePath = "")
    Parameters
    Type Name Description
    string message
    string callerMemberName
    string callerFilePath
    | Edit this page View Source

    Verbose(string, string, string)

    Declaration
    public virtual void Verbose(string message, string callerMemberName = "", string callerFilePath = "")
    Parameters
    Type Name Description
    string message
    string callerMemberName
    string callerFilePath
    | Edit this page View Source

    Warning(string, string, string)

    Declaration
    public virtual void Warning(string message, string callerMemberName = "", string callerFilePath = "")
    Parameters
    Type Name Description
    string message
    string callerMemberName
    string callerFilePath

    Implements

    ILogger

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation