Search Results for

    Show / Hide Table of Contents

    Class Logger

    Provides functionality for developers to view debug logs and export log files from IronPdf.

    Inheritance
    System.Object
    Logger
    Namespace: IronPdf.Logging
    Assembly: IronPdf.dll
    Syntax
    public static class Logger : Object
    Remarks

    The properties of this class redirect to IronSoftware.Logger

    Properties

    CustomLogger

    Custom logger implementation

    Declaration
    public static ILogger CustomLogger { get; set; }
    Property Value
    Type Description
    Microsoft.Extensions.Logging.ILogger

    LogFilePath

    Log file path

    Declaration
    public static string LogFilePath { get; set; }
    Property Value
    Type Description
    System.String

    LoggingMode

    Activate or disable detailed developer messages sent to your choice of location in the IDE or application console.

    Declaration
    public static Logger.LoggingModes LoggingMode { get; set; }
    Property Value
    Type Description
    Logger.LoggingModes

    Methods

    ClearLogFiles()

    Removes any Iron Software log files at the LogFilePath.

    Declaration
    public static void ClearLogFiles()
    See Also
    LogFilePath

    Events

    MessageLogged

    Event handler to intercept logged messages.

    Declaration
    public static event Action<string> MessageLogged
    Event Type
    Type Description
    System.Action<System.String>
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.