Bixby Developer Center

Guides
References

console

Provides logging methods for use in the Debug Console.

  • Importing with JavaScript Runtime Version 1:
      var console = require('console');
  • Importing with JavaScript Runtime Version 2:
      import console from 'console';

The following sections describe the available methods within this module. Each section includes a table that lists the parameters for that method, as well as the parameter's type and description.

console.debug

Log a debug message. The console.dir function is an alias for this method.

Kind: Static property of consoleAccess: Public

console.info

Log an info message

Kind: Static property of consoleAccess: Public

console.warn

Log a warning

Kind: Static property of consoleAccess: Public

console.error

Log an error

Kind: Static property of consoleAccess: Public

console.log

Log a message at the default level, info.

Kind: Static property of consoleAccess: Public

console.dir

Log a message that displays all properties of the parameters. This is an alias for and behaves exactly the same as console.debug.

Kind: Static property of consoleAccess: Public