generated from rnentjes/kotlin-server-web-empty
Refactor package structure for logger to include versioning.
Moved all logger-related classes to the `nl.astraeus.logger.v1` package to introduce versioning and improve maintainability. Updated logic in `StringArrayRing` to filter out blank lines during data retrieval. This change establishes a foundation for future updates without breaking compatibility.
This commit is contained in:
9
src/jsMain/kotlin/nl/astraeus/logger/v1/Logger.js.kt
Normal file
9
src/jsMain/kotlin/nl/astraeus/logger/v1/Logger.js.kt
Normal file
@@ -0,0 +1,9 @@
|
||||
package nl.astraeus.logger.v1
|
||||
|
||||
import kotlin.js.Date
|
||||
|
||||
actual fun getTimestamp(): String = Date().toISOString()
|
||||
|
||||
actual fun getCurrentThread(): String? = null
|
||||
|
||||
actual fun getCaller(): String? = null
|
||||
Reference in New Issue
Block a user