Yt constructor
Yt({
- LogOptions logOptions = const LogOptions(LogLevel.error, stackTraceLevel: LogLevel.off),
- LoggyPrinter printer = const PrettyPrinter(showColors: false),
Implementation
Yt(
{LogOptions logOptions = const LogOptions(
LogLevel.error,
stackTraceLevel: LogLevel.off,
),
LoggyPrinter printer = const PrettyPrinter(
showColors: false,
)}) {
Loggy.initLoggy(logPrinter: printer, logOptions: logOptions);
addInterceptor(
LoggingInterceptors(),
position: ListPosition.end,
);
}