LogConfig.LogFilePath Property

Gets or sets the path to a file which will be appended to for each log entry.

public string LogFilePath { get; set; }
Public Property LogFilePath As String

Property Value

String

Licensing Info

This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Examples

Example shows how to use LogFilePath property.
Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

    ConversionOptions.Logging.Level = LogLevel.Information
    ConversionOptions.Logging.LogFilePath = "C:\temp\LogFile.txt"

    ' Call convert method to do conversion.
    Converter.Convert("C:\MyDocument.rtf", "C:\MyOutput.pdf")

End Sub
 
End Module
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        ConversionOptions.Logging.Level = LogLevel.Information;
        ConversionOptions.Logging.LogFilePath = @"C:\temp\LogFile.txt";

        //Call Convert method to start conversion
        Converter.Convert(@"C:\MyDocument.rtf", @"C:\MyOutput.pdf");
    }
}

Remarks

If LogAction is to be used then this should not be assigned. Setting this property also assign the LogAction with an internal method for logging to file.

See Also

LogConfig
ceTe.DynamicPDF.Conversion

In this topic