LogOutputChannel class

A channel for containing log output.

To get an instance of a LogOutputChannel use {@link window.createOutputChannelcreateOutputChannel}.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

LogOutputChannel({LogLevel? logLevel, Event<LogLevel>? onDidChangeLogLevel, void trace(String, [Iterable?])?, void debug(String, [Iterable?])?, void info(String, [Iterable?])?, void warn(String, [Iterable?])?, void error(Object, [Iterable?])?, String? name, void append(String)?, void appendLine(String)?, void replace(String)?, void clear()?, void hide()?, void dispose()?})
factory

Properties

append ↔ void Function(String)

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
appendLine ↔ void Function(String)

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
clear ↔ void Function()

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
debug ↔ void Function(String, [Iterable?])

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

getter/setter pair
dispose ↔ void Function()

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
error ↔ void Function(Object, [Iterable?])

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hide ↔ void Function()

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
info ↔ void Function(String, [Iterable?])

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

getter/setter pair
logLevel LogLevel

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

The current log level of the channel. Defaults to {@link env.logLeveleditor log level}.
no setter
name String

Available on OutputChannel, provided by the OutputChannel$Typings extension

The human-readable name of this output channel.
no setter
onDidChangeLogLevel Event<LogLevel>

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

An {@link Event} which fires when the log level of the channel changes.
no setter
replace ↔ void Function(String)

Available on OutputChannel, provided by the OutputChannel$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show → ({void Function([bool? preserveFocus]) $1, void Function([ViewColumn? column, bool? preserveFocus]) $2})

Available on OutputChannel, provided by the OutputChannel$Typings extension

Overload accessor: $1, $2
no setter
trace ↔ void Function(String, [Iterable?])

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

getter/setter pair
warn ↔ void Function(String, [Iterable?])

Available on LogOutputChannel, provided by the LogOutputChannel$Typings extension

getter/setter pair

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