Packages

p

io.scalajs.nodejs

console_module

package console_module

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class Console extends Object

    The console module provides a simple debugging console that is similar to the JavaScript console mechanism provided by web browsers.

    The console module provides a simple debugging console that is similar to the JavaScript console mechanism provided by web browsers.

    The module exports two specific components:

    • A Console class with methods such as console.log(), console.error() and console.warn() that can be used to write to any Node.js stream.
    • A global console instance configured to write to process.stdout and process.stderr. The global console can be used without calling require('console').

    Warning: The global console object's methods are neither consistently synchronous like the browser APIs they resemble, nor are they consistently asynchronous like all other Node.js streams. See the note on process I/O for more information.

    Annotations
    @JSType() @native() @JSImport("console", "Console")
    See also

    https://nodejs.org/api/console.html

  2. trait ConsoleDirOptions extends Object
    Annotations
    @JSType()
  3. trait ConsoleOptions extends Object
    Annotations
    @JSType()

Value Members

  1. object Console extends Console

    A global Console instance configured to write to io.scalajs.nodejs.process.Process.stdout and io.scalajs.nodejs.process.Process.stderr.

    A global Console instance configured to write to io.scalajs.nodejs.process.Process.stdout and io.scalajs.nodejs.process.Process.stderr.

    Annotations
    @native() @JSGlobal("console")
  2. object ConsoleDirOptions
  3. object ConsoleOptions

Ungrouped