Last updated:
0 purchases
http extensions log
http_extensions : log #
An [http extension] that logs requests.
Usage #
final client = ExtendedClient(
inner: Client(),
extensions: [
LogExtension(
logger: Logger("HTTP"),
defaultOptions: LogOptions(
const LogOptions(
level: Level.fine // The logging level (on logger)
isEnabled: true, // Indicates whether the logger is enabled.
logContent: false // Indicates whether sent body and received content should be logged.
logHeaders: true // Indicates whether headers should be logged.
)),
],
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.