BotDetect ASP.NET CAPTCHA Logging API Reference (BotDetect v3.0; deprecated)
BotDetect ASP.NET Captcha logging functionality is now encapsulated in this namespace, making custom logging provider implementations much simpler.
- BotDetect.Logging.ILoggingProvider interface
- BotDetect.Logging.LoggingProvider class
- BotDetect.Logging.NullLoggingProvider class
- BotDetect.Logging.Log4NetLoggingProvider class
BotDetect.Logging.ILoggingProvider
Every logging provider used for BotDetect logging should implement this interface.
BotDetect.Logging.ILoggingProvider Interface Reference | ||
---|---|---|
bool ErrorLoggingEnabled | Is error logging enabled | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
bool TraceEnabled | Is debug logging enabled | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
string EventTypeFilterRegex | Filtered tracing, only logging events whose eventType matches this regex |
BotDetect.Logging.LoggingProvider
The base logging provider class. Inheriting this class makes fulfilling the ILoggingProvider interface requirements as simple as implementing two methods logging strings to the error and trace logs.
Implements
BotDetect.Logging.ILoggingProvider
BotDetect.Logging.LoggingProvider Class Reference | ||
---|---|---|
bool ErrorLoggingEnabled | Is error logging enabled | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
bool TraceEnabled | Is debug logging enabled | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
string EventTypeFilterRegex | Filtered tracing, only logging events whose eventType matches this regex |
BotDetect.Logging.NullLoggingProvider
The default logging provider used if no other provider is configured, NullLoggingProvider simply does nothing with the captured events.
Implements
BotDetect.Logging.ILoggingProvider
Inherits
BotDetect.Logging.LoggingProvider
BotDetect.Logging.NullLoggingProvider Class Reference | ||
---|---|---|
bool ErrorLoggingEnabled | Is error logging enabled | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
bool TraceEnabled | Is debug logging enabled | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
string EventTypeFilterRegex | Filtered tracing, only logging events whose eventType matches this regex |
BotDetect.Logging.Log4NetLoggingProvider
A BotDetect logging provider implementation using log4net. It's separated from the main BotDetect assembly so referencing BotDetect doesn't cause a log4net dependency unless BotDetect.Troubleshooting.dll is also referenced.
Implements
BotDetect.Logging.ILoggingProvider
Inherits
BotDetect.Logging.LoggingProvider
BotDetect.Logging.Log4NetLoggingProvider Class Reference | ||
---|---|---|
bool ErrorLoggingEnabled | Is error logging enabled | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
void LogError
|
Log the provided input to the BotDetect error log | |
bool TraceEnabled | Is debug logging enabled | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
void Trace
|
Log the provided input to the BotDetect trace / debug log | |
string EventTypeFilterRegex | Filtered tracing, only logging events whose eventType matches this regex |
Please Note
The information on this page is out of date and applies to a deprecated version of BotDetect™ CAPTCHA (v3.0).
An up-to-date equivalent page for the latest BotDetect Captcha release (v4) is BotDetect v4 Captcha documentation index.
General information about the major improvements in the current BotDetect release can be found at the What's New in BotDetect v4.0 page.
Current BotDetect Versions
-
BotDetect ASP.NET CAPTCHA
2019-07-22v4.4.2 -
BotDetect Java CAPTCHA
2019-07-22v4.0.Beta3.7 -
BotDetect PHP CAPTCHA
2019-07-22v4.2.5