Skip to content

[JS] Expose console.debug #5474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libraries/stdlib/js/src/kotlin/debug.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ package kotlin.js
*/
@Suppress("NOT_DOCUMENTED")
public external interface Console {
public fun debug(vararg o: Any?): Unit
public fun dir(o: Any): Unit
public fun error(vararg o: Any?): Unit
public fun info(vararg o: Any?): Unit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14289,6 +14289,7 @@ abstract interface <#A: out kotlin/Any?> kotlin.js.collections/JsReadonlySet //

// Targets: [js]
abstract interface kotlin.js/Console { // kotlin.js/Console|null[0]
abstract fun debug(kotlin/Array<out kotlin/Any?>...) // kotlin.js/Console.debug|debug(kotlin.Array<out|kotlin.Any?>...){}[0]
abstract fun dir(kotlin/Any) // kotlin.js/Console.dir|dir(kotlin.Any){}[0]
abstract fun error(kotlin/Array<out kotlin/Any?>...) // kotlin.js/Console.error|error(kotlin.Array<out|kotlin.Any?>...){}[0]
abstract fun info(kotlin/Array<out kotlin/Any?>...) // kotlin.js/Console.info|info(kotlin.Array<out|kotlin.Any?>...){}[0]
Expand Down