Interface IFormulaParserLogger
Used for logging during FormulaParsing
Inherited Members
Namespace: OfficeOpenXml.FormulaParsing.Logging
Assembly: EPPlus.dll
Syntax
public interface IFormulaParserLogger : IDisposable
Methods
Log(ParsingContext, Exception)
Called each time an exception occurs during formula parsing.
Declaration
void Log(ParsingContext context, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| ParsingContext | context | |
| Exception | ex |
Log(ParsingContext, string)
Called each time information should be logged during formula parsing.
Declaration
void Log(ParsingContext context, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| ParsingContext | context | |
| string | message |
Log(string)
Called to log a message outside the parsing context.
Declaration
void Log(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message |
LogCellCounted()
Called each time a cell within the calc chain is accessed during formula parsing.
Declaration
void LogCellCounted()
LogFunction(string)
Called each time a function is called during formula parsing.
Declaration
void LogFunction(string func)
Parameters
| Type | Name | Description |
|---|---|---|
| string | func |
LogFunction(string, long)
Some functions measure performance, if so this function will be called.
Declaration
void LogFunction(string func, long milliseconds)
Parameters
| Type | Name | Description |
|---|---|---|
| string | func | |
| long | milliseconds |