Console module

The console module provides a set of methods to write things to the console.

Import the module with:

import { console } from 'lib';

Write(message:string)

This method writes a message to the console.

Arguments

  • string message : The message to display

Example

import { console } from 'lib';
console.Write('Hello world');