NetCoreWebDriverFactory
3.0.0
Easy WebDriver generation for .NET Core
|
Public Member Functions | |
bool | Log (LogLevel logLevel, Func< string > messageFunc, Exception exception=null, params object[] formatParameters) |
Log a message the specified log level. More... | |
bool AlexanderOnTest.NetCoreWebDriverFactory.Logging.LoggerExecutionWrapper.Log | ( | LogLevel | logLevel, |
Func< string > | messageFunc, | ||
Exception | exception = null , |
||
params object [] | formatParameters | ||
) |
Log a message the specified log level.
logLevel | The log level. |
messageFunc | The message function. |
exception | An optional exception. |
formatParameters | Optional format parameters for the message generated by the messagefunc. |
Note to implementers: the message func should not be called if the loglevel is not enabled so as not to incur performance penalties. To check IsEnabled call Log with only LogLevel and check the return value, no event will be written.
Implements AlexanderOnTest.NetCoreWebDriverFactory.Logging.ILog.