@@ -77,10 +77,9 @@ class Console protected () extends js.Object {
77
77
78
78
/**
79
79
* The `console.debug()` function is an alias for `console.log()`.
80
- * @param message
81
- * @param optionalParams
80
+ * @param args
82
81
*/
83
- def debug (message : js.Any , optionalParams : Any * ): Unit = js.native
82
+ def debug (args : js.Any * ): Unit = js.native
84
83
85
84
/**
86
85
* Uses [[io.scalajs.nodejs.util.Util.inspect() ]] on `obj` and prints the resulting string to `stdout`.
@@ -104,10 +103,9 @@ class Console protected () extends js.Object {
104
103
* is called on each argument and the resulting string values are concatenated. See [[io.scalajs.nodejs.util.Util.format() ]]
105
104
* for more information.
106
105
*
107
- * @param message
108
- * @param optionalParams
106
+ * @param args
109
107
*/
110
- def error (message : js.Any , optionalParams : Any * ): Unit = js.native
108
+ def error (args : js.Any * ): Unit = js.native
111
109
112
110
/**
113
111
* Increases indentation of subsequent lines by two spaces.
@@ -132,14 +130,14 @@ class Console protected () extends js.Object {
132
130
/**
133
131
* The `console.info()` function is an alias for [[log() ]].
134
132
*/
135
- def info (message : js. Any , optionalParams : js.Any * ): Unit = js.native
133
+ def info (args : js.Any * ): Unit = js.native
136
134
137
135
/**
138
136
* Prints to `stdout` with newline.
139
137
* Multiple arguments can be passed, with the first used as the primary message and all additional used as
140
138
* substitution values similar to `printf(3)` (the arguments are all passed to `util.format()`).
141
139
*/
142
- def log (message : js.Any , optionalParams : Any * ): Unit = js.native
140
+ def log (args : js.Any * ): Unit = js.native
143
141
144
142
/**
145
143
* Try to construct a table with the columns of the properties of `tabularData` (or use `properties`) and
@@ -176,12 +174,12 @@ class Console protected () extends js.Object {
176
174
* Prints to `stderr` the string `'Trace: '`, followed by the [[io.scalajs.nodejs.util.Util.format() ]] formatted
177
175
* message and stack trace to the current position in the code.
178
176
*/
179
- def trace (message : js. Any , optionalParams : js.Any * ): Unit = js.native
177
+ def trace (args : js.Any * ): Unit = js.native
180
178
181
179
/**
182
180
* The `console.warn()` function is an alias for [[error()]
183
181
*/
184
- def warn (message : js. Any , optionalParams : js.Any * ): Unit = js.native
182
+ def warn (args : js.Any * ): Unit = js.native
185
183
186
184
/**
187
185
* This method does not display anything unless used in the inspector.
0 commit comments