Search Results for

    Show / Hide Table of Contents

    TSparkleLoggingMiddleware.ExceptionFormatString Property

    Specifies the format string for the message to be logged when an exception happens during the request processing.

    Remarks

    If any exception occurs in the server during request processing, and LogExceptions property is True, the exception will be logged using this format. Different from FormatString property which has a specific format, the content of this property is just a simple string used by Delphi Format function. Four parameters are passed to the Format function, in this order: The exception message, the exception class name, the log message itself and an opaque unique code of the exception. Default value is "(%%1:s %%4:s) %%0:s - %%2:s"

    Syntax

    Unit: Sparkle.Comp.LoggingMiddleware

    property TSparkleLoggingMiddleware.ExceptionFormatString: string

    See also

    • TSparkleLoggingMiddleware
    In This Article
    Back to top TMS Sparkle v3.32
    © 2002 - 2025 tmssoftware.com