@@ -40,7 +40,7 @@ class Console protected () extends js.Object {
40
40
* @param message The error message
41
41
* @param optionalParams The arguments passed to `message`
42
42
*/
43
- def assert (value : js. Any , message : String , optionalParams : Any * ): Unit = js.native
43
+ def assert (value : Any , message : String , optionalParams : Any * ): Unit = js.native
44
44
45
45
/**
46
46
* A simple assertion test that verifies whether `value` is truthy.
@@ -49,7 +49,7 @@ class Console protected () extends js.Object {
49
49
* @param value The value tested for being truthy
50
50
* @param optionalParams The arguments passed to the error message
51
51
*/
52
- def assert (value : js. Any , optionalParams : Any * ): Unit = js.native
52
+ def assert (value : Any , optionalParams : Any * ): Unit = js.native
53
53
54
54
/**
55
55
* When `stdout` is a TTY, calling `console.clear()` will attempt to clear the TTY.
@@ -78,22 +78,22 @@ class Console protected () extends js.Object {
78
78
/**
79
79
* The `console.debug()` function is an alias for `console.log()`.
80
80
*/
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
81
+ def debug (data : Any , arg1 : Any , args : Any * ): Unit = js.native
82
+ def debug (data : 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`.
87
87
* This function bypasses any custom `inspect()` function defined on `obj`.
88
88
*/
89
- def dir (obj : js. Any , options : ConsoleDirOptions ): Unit = js.native
90
- def dir (obj : js. Any ): Unit = js.native
89
+ def dir (obj : Any , options : ConsoleDirOptions ): Unit = js.native
90
+ def dir (obj : Any ): Unit = js.native
91
91
92
92
/**
93
93
* This method calls[[log() ]] passing it the arguments received.
94
94
* Please note that this method does not produce any XML formatting
95
95
*/
96
- def dirxml (data : js. Any * ): Unit = js.native
96
+ def dirxml (data : Any * ): Unit = js.native
97
97
98
98
/**
99
99
* Prints to `stderr` with newline.
@@ -103,12 +103,10 @@ class Console protected () extends js.Object {
103
103
* If formatting elements (e.g. `%d`) are not found in the first string then[[io.scalajs.nodejs.util.Util.inspect() ]]
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
- *
107
- * @param args
108
106
*/
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
107
+ def error (data : Any , arg1 : Any , args : Any * ): Unit = js.native
108
+ def error (data : Any ): Unit = js.native
109
+ def error (): Unit = js.native
112
110
113
111
/**
114
112
* Increases indentation of subsequent lines by two spaces.
@@ -123,7 +121,7 @@ class Console protected () extends js.Object {
123
121
* An alias for [[group() ]]
124
122
* @param label
125
123
*/
126
- def groupCollapsed (label : js. Any * ): Unit = js.native
124
+ def groupCollapsed (label : Any * ): Unit = js.native
127
125
128
126
/**
129
127
* Decreases indentation of subsequent lines by two spaces.
@@ -133,18 +131,18 @@ class Console protected () extends js.Object {
133
131
/**
134
132
* The `console.info()` function is an alias for [[log() ]].
135
133
*/
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
134
+ def info (data : Any , arg1 : Any , args : Any * ): Unit = js.native
135
+ def info (data : Any ): Unit = js.native
136
+ def info (): Unit = js.native
139
137
140
138
/**
141
139
* Prints to `stdout` with newline.
142
140
* Multiple arguments can be passed, with the first used as the primary message and all additional used as
143
141
* substitution values similar to `printf(3)` (the arguments are all passed to `util.format()`).
144
142
*/
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
+ def log (data : Any , arg1 : Any , args : Any * ): Unit = js.native
144
+ def log (data : Any ): Unit = js.native
145
+ def log (): Unit = js.native
148
146
149
147
/**
150
148
* Try to construct a table with the columns of the properties of `tabularData` (or use `properties`) and
@@ -153,8 +151,8 @@ class Console protected () extends js.Object {
153
151
* @param tabularData
154
152
* @param properties Alternate properties for constructing the table.
155
153
*/
156
- def table (tabularData : js. Any , properties : js.Array [String ]): Unit = js.native
157
- def table (tabularData : js. Any ): Unit = js.native
154
+ def table (tabularData : Any , properties : js.Array [String ]): Unit = js.native
155
+ def table (tabularData : Any ): Unit = js.native
158
156
159
157
/**
160
158
* Starts a timer that can be used to compute the duration of an operation.
@@ -175,22 +173,22 @@ class Console protected () extends js.Object {
175
173
/**
176
174
* Stops a timer that was previously started by calling [[time() ]] and prints the result to `.stdout`.`
177
175
*/
178
- def timeLog (label : String , data : js. Any * ): Unit = js.native
176
+ def timeLog (label : String , data : Any * ): Unit = js.native
179
177
180
178
/**
181
179
* Prints to `stderr` the string `'Trace: '`, followed by the [[io.scalajs.nodejs.util.Util.format() ]] formatted
182
180
* message and stack trace to the current position in the code.
183
181
*/
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
182
+ def trace (data : Any , arg1 : Any , args : Any * ): Unit = js.native
183
+ def trace (data : Any ): Unit = js.native
184
+ def trace (): Unit = js.native
187
185
188
186
/**
189
187
* The `console.warn()` function is an alias for [[error()]
190
188
*/
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
189
+ def warn (data : Any , arg1 : Any , args : Any * ): Unit = js.native
190
+ def warn (data : Any ): Unit = js.native
191
+ def warn (): Unit = js.native
194
192
195
193
/**
196
194
* This method does not display anything unless used in the inspector.
0 commit comments