Skip to content

Commit

Permalink
Rename msg to message and remove Suppress annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
AzimMuradov committed Jan 14, 2024
1 parent 1b5ca33 commit 646ff0c
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,10 @@ public class ConsoleOutputAppender : FormattingAppender() {
}
}

private fun consoleLog(
@Suppress("UNUSED_PARAMETER") msg: String,
): Unit = js("console.log(msg)")
private fun consoleLog(message: String): Unit = js("console.log(message)")

private fun consoleInfo(
@Suppress("UNUSED_PARAMETER") msg: String,
): Unit = js("console.info(msg)")
private fun consoleInfo(message: String): Unit = js("console.info(message)")

private fun consoleWarn(
@Suppress("UNUSED_PARAMETER") msg: String,
): Unit = js("console.warn(msg)")
private fun consoleWarn(message: String): Unit = js("console.warn(message)")

private fun consoleError(
@Suppress("UNUSED_PARAMETER") msg: String,
): Unit = js("console.error(msg)")
private fun consoleError(message: String): Unit = js("console.error(message)")

0 comments on commit 646ff0c

Please sign in to comment.