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