trait Console_ extends Object with StObject
- Alphabetic
- By Inheritance
- Console_
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Console: ConsoleConstructor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assert(value: Any, message: Unit, optionalParams: Any*): Unit
- def assert(value: Any, message: java.lang.String, optionalParams: Any*): Unit
A simple assertion test that verifies whether
valueis truthy.A simple assertion test that verifies whether
valueis truthy. If it is not, anAssertionErroris thrown. If provided, the errormessageis formatted usingutil.format()and used as the error message. - def clear(): Unit
When
stdoutis a TTY, callingconsole.clear()will attempt to clear the TTY.When
stdoutis a TTY, callingconsole.clear()will attempt to clear the TTY. Whenstdoutis not a TTY, this method does nothing. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def count(label: java.lang.String): Unit
- def count(): Unit
Maintains an internal counter specific to
labeland outputs tostdoutthe number of timesconsole.count()has been called with the givenlabel. - def countReset(label: java.lang.String): Unit
- def countReset(): Unit
Resets the internal counter specific to
label. - def debug(message: Unit, optionalParams: Any*): Unit
- def debug(message: Any, optionalParams: Any*): Unit
The
console.debug()function is an alias forconsole.log. - def dir(obj: Any, options: InspectOptions): Unit
- def dir(obj: Any): Unit
Uses
util.inspectonobjand prints the resulting string tostdout.Uses
util.inspectonobjand prints the resulting string tostdout. This function bypasses any custominspect()function defined onobj. - def dirxml(data: Any*): Unit
This method calls
console.logpassing it the arguments received.This method calls
console.logpassing it the arguments received. Please note that this method does not produce any XML formatting - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(message: Unit, optionalParams: Any*): Unit
- def error(message: Any, optionalParams: Any*): Unit
Prints to
stderrwith newline. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def group(label: Any*): Unit
Increases indentation of subsequent lines by two spaces.
Increases indentation of subsequent lines by two spaces. If one or more
labels are provided, those are printed first without the additional indentation. - def groupCollapsed(label: Any*): Unit
The
console.groupCollapsed()function is an alias forconsole.group. - def groupEnd(): Unit
Decreases indentation of subsequent lines by two spaces.
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def info(message: Unit, optionalParams: Any*): Unit
- def info(message: Any, optionalParams: Any*): Unit
The
console.infofunction is an alias forconsole.log. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def log(message: Unit, optionalParams: Any*): Unit
- def log(message: Any, optionalParams: Any*): Unit
Prints to
stdoutwith newline. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def profile(label: java.lang.String): Unit
- def profile(): Unit
This method does not display anything unless used in the inspector.
This method does not display anything unless used in the inspector. Starts a JavaScript CPU profile with an optional label.
- def profileEnd(label: java.lang.String): Unit
- def profileEnd(): Unit
This method does not display anything unless used in the inspector.
This method does not display anything unless used in the inspector. Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector.
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def table(tabularData: Any, properties: Array[java.lang.String]): Unit
- def table(tabularData: Any): Unit
This method does not display anything unless used in the inspector.
This method does not display anything unless used in the inspector. Prints to
stdoutthe arrayarrayformatted as a table. - def time(label: java.lang.String): Unit
- def time(): Unit
Starts a timer that can be used to compute the duration of an operation.
Starts a timer that can be used to compute the duration of an operation. Timers are identified by a unique
label. - def timeEnd(label: java.lang.String): Unit
- def timeEnd(): Unit
Stops a timer that was previously started by calling
console.timeand prints the result tostdout. - def timeLog(label: Unit, data: Any*): Unit
- def timeLog(label: java.lang.String, data: Any*): Unit
For a timer that was previously started by calling
console.time, prints the elapsed time and otherdataarguments tostdout. - def timeStamp(label: java.lang.String): Unit
- def timeStamp(): Unit
This method does not display anything unless used in the inspector.
This method does not display anything unless used in the inspector. Adds an event with the label
labelto the Timeline panel of the inspector. - def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def trace(message: Unit, optionalParams: Any*): Unit
- def trace(message: Any, optionalParams: Any*): Unit
Prints to
stderrthe string 'Trace :', followed by theutil.formatformatted message and stack trace to the current position in the code. - def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def warn(message: Unit, optionalParams: Any*): Unit
- def warn(message: Any, optionalParams: Any*): Unit
The
console.warnfunction is an alias forconsole.error.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated