@@ -101,6 +101,9 @@ new Console(process.stdout, process.stderr);
101101```
102102
103103### console.assert(value[ , message] [ , ... ] )
104+ <!-- YAML
105+ added: v0.1.101
106+ -->
104107
105108A simple assertion test that verifies whether ` value ` is truthy. If it is not,
106109an ` AssertionError ` is thrown. If provided, the error ` message ` is formatted
@@ -154,6 +157,9 @@ console.log('this will also print');
154157```
155158
156159### console.dir(obj[ , options] )
160+ <!-- YAML
161+ added: v0.1.101
162+ -->
157163
158164Uses [ ` util.inspect() ` ] [ ] on ` obj ` and prints the resulting string to ` stdout ` .
159165This function bypasses any custom ` inspect() ` function defined on ` obj ` . An
@@ -172,6 +178,9 @@ Defaults to `false`. Colors are customizable; see
172178[ customizing ` util.inspect() ` colors] [ ] .
173179
174180### console.error([ data] [ , ... ] )
181+ <!-- YAML
182+ added: v0.1.100
183+ -->
175184
176185Prints to ` stderr ` with newline. Multiple arguments can be passed, with the
177186first used as the primary message and all additional used as substitution
@@ -191,10 +200,16 @@ If formatting elements (e.g. `%d`) are not found in the first string then
191200values are concatenated. See [ ` util.format() ` ] [ ] for more information.
192201
193202### console.info([ data] [ , ... ] )
203+ <!-- YAML
204+ added: v0.1.100
205+ -->
194206
195207The ` console.info() ` function is an alias for [ ` console.log() ` ] [ ] .
196208
197209### console.log([ data] [ , ... ] )
210+ <!-- YAML
211+ added: v0.1.100
212+ -->
198213
199214Prints to ` stdout ` with newline. Multiple arguments can be passed, with the
200215first used as the primary message and all additional used as substitution
@@ -214,6 +229,9 @@ If formatting elements (e.g. `%d`) are not found in the first string then
214229values are concatenated. See [ ` util.format() ` ] [ ] for more information.
215230
216231### console.time(label)
232+ <!-- YAML
233+ added: v0.1.104
234+ -->
217235
218236Used to calculate the duration of a specific operation. To start a timer, call
219237the ` console.time() ` method, giving it a unique ` label ` as the only parameter. To stop the
@@ -222,6 +240,9 @@ timer, and to get the elapsed time in milliseconds, just call the
222240timer's unique ` label ` as the parameter.
223241
224242### console.timeEnd(label)
243+ <!-- YAML
244+ added: v0.1.104
245+ -->
225246
226247Stops a timer that was previously started by calling [ ` console.time() ` ] [ ] and
227248prints the result to stdout:
@@ -236,6 +257,9 @@ console.timeEnd('100-elements');
236257```
237258
238259### console.trace(message[ , ...] )
260+ <!-- YAML
261+ added: v0.1.104
262+ -->
239263
240264Prints to ` stderr ` the string ` 'Trace :' ` , followed by the [ ` util.format() ` ] [ ]
241265formatted message and stack trace to the current position in the code.
@@ -257,6 +281,9 @@ console.trace('Show me');
257281```
258282
259283### console.warn([ data] [ , ... ] )
284+ <!-- YAML
285+ added: v0.1.100
286+ -->
260287
261288The ` console.warn() ` function is an alias for [ ` console.error() ` ] [ ] .
262289
0 commit comments