ScrapingLogger class
A logger for scraping operations
Constructors
- ScrapingLogger.new({int maxEntries = 1000})
- Creates a new ScrapingLogger
Properties
-
entries
→ List<
ScrapingLogEntry> -
Gets the log entries
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onLog
→ Stream<
ScrapingLogEntry> -
Gets a stream of log entries
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clears all log entries
-
connection(
String message) → void - Logs a connection-related message
-
dispose(
) → void - Disposes the logger
-
error(
String message) → void - Logs an error message
-
info(
String message) → void - Logs an info message
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
proxy(
String message) → void - Logs a proxy-related message
-
request(
String message) → void - Logs a request-related message
-
response(
String message) → void - Logs a response-related message
-
success(
String message) → void - Logs a success message
-
toString(
) → String -
A string representation of this object.
inherited
-
warning(
String message) → void - Logs a warning message
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited