Interface IFormulaParserLogger
Used for logging during FormulaParsing
Inherited Members
System.IDisposable.Dispose()
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 | |
System.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 | |
System.String | message |
Log(String)
Called to log a message outside the parsing context.
Declaration
void Log(string message)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | func |
LogFunction(String, Int64)
Some functions measure performance, if so this function will be called.
Declaration
void LogFunction(string func, long milliseconds)
Parameters
Type | Name | Description |
---|---|---|
System.String | func | |
System.Int64 | milliseconds |