Packages

trait Console_ extends Object with StObject

Annotations
@JSType() @native()
Source
consoleMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Console_
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. 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
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def assert(value: Any, message: Unit, optionalParams: Any*): Unit
  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.

  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.

  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
  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.

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

    Resets the internal counter specific to label.

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

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

  16. def dir(obj: Any, options: InspectOptions): Unit
  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.

  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

  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
  22. def error(message: Any, optionalParams: Any*): Unit

    Prints to stderr with newline.

  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.

  25. def groupCollapsed(label: Any*): Unit

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

  26. def groupEnd(): Unit

    Decreases indentation of subsequent lines by two spaces.

  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
  30. def info(message: Any, optionalParams: Any*): Unit

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

  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
  34. def log(message: Any, optionalParams: Any*): Unit

    Prints to stdout with newline.

  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
  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.

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

  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
  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.

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

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

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

  50. def timeLog(label: Unit, data: Any*): Unit
  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.

  52. def timeStamp(label: java.lang.String): Unit
  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.

  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
  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.

  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
  63. def warn(message: Any, optionalParams: Any*): Unit

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

Deprecated Value Members

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

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped