VVideoLogConfig class

Configuration for V Video Compressor logging

Constructors

VVideoLogConfig({bool enabled = true, VVideoLogLevel level = VVideoLogLevel.info, bool showStackTrace = true, bool showParameters = false, bool showProgress = false, bool showSuccess = true, String? customPrefix, bool useConsoleLog = false})
const
VVideoLogConfig.debug()
Create a config for debugging (all logs)
const
VVideoLogConfig.development()
Create a config for development (verbose logging)
const
VVideoLogConfig.disabled()
Disable all logging
const
VVideoLogConfig.production()
Create a config for production (minimal logging)
const

Properties

customPrefix String?
Custom log prefix
final
enabled bool
Enable or disable logging
final
hashCode int
The hash code for this object.
no setterinherited
level VVideoLogLevel
Log level threshold
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showParameters bool
Show method parameters in logs
final
showProgress bool
Show progress logs
final
showStackTrace bool
Show stack traces for errors
final
showSuccess bool
Show success logs
final
useConsoleLog bool
Log to console (print) instead of developer log
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited