June 2014
Intermediate to advanced
696 pages
38h 52m
English
One of the most useful modules in Node.js is the console module. This module provides a lot of functionality for writing debug and information statements to the console. The console module allows you to control output to the console, implement time delta output, and write tracebacks and assertions to the console. This section covers using the console module, which you need to know how to use in later chapters of the book.
Since the console module is so widely used, you do not need to load it into your modules by using a require() statement. You simply call the console function by using console.<function>(<parameters>). Table 3.3 lists the functions available in the console module.
Table 3.3 Member functions of ...
Read now
Unlock full access