Packages

class Console extends Object with StObject with Console_

Annotations
@JSType() @JSGlobal("console.Console") @native()
Source
consoleMod.scala
Linear Supertypes
Console_, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Console
  2. Console_
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Console(stdout: WritableStream, stderr: Unit, ignoreErrors: Boolean)
  2. new Console(stdout: WritableStream, stderr: WritableStream, ignoreErrors: Boolean)
  3. new Console(stdout: WritableStream, stderr: WritableStream)
  4. new Console(stdout: WritableStream)
  5. new Console(options: ConsoleConstructorOptions)
  6. new Console()
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Console: ConsoleConstructor
    Definition Classes
    Console_
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assert(value: Any, message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  7. def assert(value: Any, message: java.lang.String, optionalParams: Any*): Unit

    A simple assertion test that verifies whether value is truthy.

    A simple assertion test that verifies whether value is truthy. If it is not, an AssertionError is thrown. If provided, the error message is formatted using util.format() and used as the error message.

    Definition Classes
    Console_
  8. def clear(): Unit

    When stdout is a TTY, calling console.clear() will attempt to clear the TTY.

    When stdout is a TTY, calling console.clear() will attempt to clear the TTY. When stdout is not a TTY, this method does nothing.

    Definition Classes
    Console_
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  10. def count(label: java.lang.String): Unit
    Definition Classes
    Console_
  11. def count(): Unit

    Maintains an internal counter specific to label and outputs to stdout the number of times console.count() has been called with the given label.

    Maintains an internal counter specific to label and outputs to stdout the number of times console.count() has been called with the given label.

    Definition Classes
    Console_
  12. def countReset(label: java.lang.String): Unit
    Definition Classes
    Console_
  13. def countReset(): Unit

    Resets the internal counter specific to label.

    Resets the internal counter specific to label.

    Definition Classes
    Console_
  14. def debug(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  15. def debug(message: Any, optionalParams: Any*): Unit

    The console.debug() function is an alias for console.log.

    The console.debug() function is an alias for console.log.

    Definition Classes
    Console_
  16. def dir(obj: Any, options: InspectOptions): Unit
    Definition Classes
    Console_
  17. def dir(obj: Any): Unit

    Uses util.inspect on obj and prints the resulting string to stdout.

    Uses util.inspect on obj and prints the resulting string to stdout. This function bypasses any custom inspect() function defined on obj.

    Definition Classes
    Console_
  18. def dirxml(data: Any*): Unit

    This method calls console.log passing it the arguments received.

    This method calls console.log passing it the arguments received. Please note that this method does not produce any XML formatting

    Definition Classes
    Console_
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def error(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  22. def error(message: Any, optionalParams: Any*): Unit

    Prints to stderr with newline.

    Prints to stderr with newline.

    Definition Classes
    Console_
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. 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.

    Definition Classes
    Console_
  25. def groupCollapsed(label: Any*): Unit

    The console.groupCollapsed() function is an alias for console.group.

    The console.groupCollapsed() function is an alias for console.group.

    Definition Classes
    Console_
  26. def groupEnd(): Unit

    Decreases indentation of subsequent lines by two spaces.

    Decreases indentation of subsequent lines by two spaces.

    Definition Classes
    Console_
  27. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  29. def info(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  30. def info(message: Any, optionalParams: Any*): Unit

    The console.info function is an alias for console.log.

    The console.info function is an alias for console.log.

    Definition Classes
    Console_
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  33. def log(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  34. def log(message: Any, optionalParams: Any*): Unit

    Prints to stdout with newline.

    Prints to stdout with newline.

    Definition Classes
    Console_
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  38. def profile(label: java.lang.String): Unit
    Definition Classes
    Console_
  39. 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.

    Definition Classes
    Console_
  40. def profileEnd(label: java.lang.String): Unit
    Definition Classes
    Console_
  41. 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.

    Definition Classes
    Console_
  42. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def table(tabularData: Any, properties: Array[java.lang.String]): Unit
    Definition Classes
    Console_
  45. 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 stdout the array array formatted as a table.

    Definition Classes
    Console_
  46. def time(label: java.lang.String): Unit
    Definition Classes
    Console_
  47. 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.

    Definition Classes
    Console_
  48. def timeEnd(label: java.lang.String): Unit
    Definition Classes
    Console_
  49. def timeEnd(): Unit

    Stops a timer that was previously started by calling console.time and prints the result to stdout.

    Stops a timer that was previously started by calling console.time and prints the result to stdout.

    Definition Classes
    Console_
  50. def timeLog(label: Unit, data: Any*): Unit
    Definition Classes
    Console_
  51. 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 other data arguments to stdout.

    For a timer that was previously started by calling console.time, prints the elapsed time and other data arguments to stdout.

    Definition Classes
    Console_
  52. def timeStamp(label: java.lang.String): Unit
    Definition Classes
    Console_
  53. 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 label to the Timeline panel of the inspector.

    Definition Classes
    Console_
  54. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  55. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  56. def trace(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  57. def trace(message: Any, optionalParams: Any*): Unit

    Prints to stderr the string 'Trace :', followed by the util.format formatted message and stack trace to the current position in the code.

    Prints to stderr the string 'Trace :', followed by the util.format formatted message and stack trace to the current position in the code.

    Definition Classes
    Console_
  58. def valueOf(): Any
    Definition Classes
    Object
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. def warn(message: Unit, optionalParams: Any*): Unit
    Definition Classes
    Console_
  63. def warn(message: Any, optionalParams: Any*): Unit

    The console.warn function is an alias for console.error.

    The console.warn function is an alias for console.error.

    Definition Classes
    Console_

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Console_

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped