Table of Contents

Interface ILog

Namespace
UglyToad.PdfPig.Logging
Assembly
UglyToad.PdfPig.dll

Logs internal messages from the PDF parsing process. Consumers can provide their own implementation in the ParsingOptions to intercept log messages.

public interface ILog

Methods

Debug(string)

Record an informational debug message.

void Debug(string message)

Parameters

message string

Debug(string, Exception)

Record an informational debug message with exception.

void Debug(string message, Exception ex)

Parameters

message string
ex Exception

Error(string)

Record an error message due to an issue encountered in parsing.

void Error(string message)

Parameters

message string

Error(string, Exception)

Record an error message due to an issue encountered in parsing with exception.

void Error(string message, Exception ex)

Parameters

message string
ex Exception

Warn(string)

Record an warning message due to a non-error issue encountered in parsing.

void Warn(string message)

Parameters

message string