Skip to content

Commit

Permalink
Add wasmJs platform support and related implementations
Browse files Browse the repository at this point in the history
Introduce wasmJs-specific implementations for class name extraction, coroutine dispatcher, and thread details. Update build configuration to enable wasmJs and set the new version to 0.10.0.
  • Loading branch information
smyrgeorge committed Oct 22, 2024
1 parent ecceb04 commit 91d0f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ try {
// Create custom appenders.
// See [BatchAppender] for more information.
class MyBatchAppender(size: Int) : BatchAppender<LoggingEvent>(size) {
override suspend fun append(event: List<LoggingEvent>) {
override suspend fun handle(event: List<LoggingEvent>) {
// E.g. send batch over http.
// In this case every [append] method will be called every 5 elements.
println(event.joinToString { it.message })
Expand Down

0 comments on commit 91d0f37

Please sign in to comment.