LogOutputChannel constructor
LogOutputChannel({})
Implementation
factory LogOutputChannel({
_i3.LogLevel? logLevel,
_i3.Event<_i3.LogLevel>? onDidChangeLogLevel,
void Function(
_i2.String, [
_i2.Iterable<_i2.dynamic>?,
])? trace,
void Function(
_i2.String, [
_i2.Iterable<_i2.dynamic>?,
])? debug,
void Function(
_i2.String, [
_i2.Iterable<_i2.dynamic>?,
])? info,
void Function(
_i2.String, [
_i2.Iterable<_i2.dynamic>?,
])? warn,
void Function(
_i2.Object, [
_i2.Iterable<_i2.dynamic>?,
])? error,
_i2.String? name,
void Function(_i2.String)? append,
void Function(_i2.String)? appendLine,
void Function(_i2.String)? replace,
void Function()? clear,
void Function()? hide,
void Function()? dispose,
}) =>
LogOutputChannel._(
logLevel: logLevel?.name,
onDidChangeLogLevel: onDidChangeLogLevel ?? _i6.undefined,
trace: trace == null
? null
: _i5.allowInterop((
_i2.String v0, [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
trace(
v0,
[
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
],
)),
debug: debug == null
? null
: _i5.allowInterop((
_i2.String v0, [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
debug(
v0,
[
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
],
)),
info: info == null
? null
: _i5.allowInterop((
_i2.String v0, [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
info(
v0,
[
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
],
)),
warn: warn == null
? null
: _i5.allowInterop((
_i2.String v0, [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
warn(
v0,
[
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
],
)),
error: error == null
? null
: _i5.allowInterop((
_i2.Object v0, [
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
]) =>
error(
v0,
[
a0,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
a8,
a9,
],
)),
name: name,
append: append == null ? null : _i5.allowInterop(append),
appendLine: appendLine == null ? null : _i5.allowInterop(appendLine),
replace: replace == null ? null : _i5.allowInterop(replace),
clear: clear == null ? null : _i5.allowInterop(clear),
hide: hide == null ? null : _i5.allowInterop(hide),
dispose: dispose == null ? null : _i5.allowInterop(dispose),
);