Search Results for

    Show / Hide Table of Contents

    Class Logger.LoggingModes

    Differnt Ways to Log developer notcies and warnings

    Inheritance
    System.Object
    Logger.LoggingModes
    Namespace: IronQr.Logging
    Assembly: IronQr.dll
    Syntax
    public sealed class LoggingModes : Enum

    LoggingModes selects where IronQR writes its debug log, assigned to Logger.LoggingMode. It is a flags enum, so destinations combine with a pipe. None is silent and All writes everywhere, while Console, DebugOutputWindow, and File send output to the console, the IDE debug window, or a file at Logger.LogFilePath. Custom routes entries to your own handler for integration with an existing logging framework. Combine the destinations a build needs, for example LoggingModes.Console | LoggingModes.File. The detailed error messages how-to turns logging on for diagnostics.

    Logger.LoggingMode = LoggingModes.Console | LoggingModes.File;

    Fields

    All

    All available methods

    Declaration
    public const Logger.LoggingModes All
    Field Value
    Type Description
    Logger.LoggingModes

    Console

    Sends Messages to System.Consoleg

    Declaration
    public const Logger.LoggingModes Console
    Field Value
    Type Description
    Logger.LoggingModes

    Custom

    Attach a custom logger

    Declaration
    public const Logger.LoggingModes Custom
    Field Value
    Type Description
    Logger.LoggingModes

    DebugOutputWindow

    Sends Messages to System.Diagnostics.Debug

    Declaration
    public const Logger.LoggingModes DebugOutputWindow
    Field Value
    Type Description
    Logger.LoggingModes

    File

    Log to File

    Declaration
    public const Logger.LoggingModes File
    Field Value
    Type Description
    Logger.LoggingModes

    None

    Silent

    Declaration
    public const Logger.LoggingModes None
    Field Value
    Type Description
    Logger.LoggingModes

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with NuGet