Skip to content

Commit

Permalink
chore: create logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ilkeraslan committed Feb 20, 2023
1 parent e52350b commit 0cb0e77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package aditogether.android.app

import aditogether.shared.Logger
import android.os.Bundle
import androidx.activity.ComponentActivity

class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Logger.log("Hello world")
}
}
7 changes: 7 additions & 0 deletions shared/src/commonMain/kotlin/aditogether.shared/Logger.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package aditogether.shared

object Logger {
fun log(message: String) {
println(message)
}
}

0 comments on commit 0cb0e77

Please sign in to comment.