Skip to content

Commit

Permalink
Merge pull request #2 from apter-tech/logging
Browse files Browse the repository at this point in the history
chore: Add an extension function for Any which allows creating logger instance for any type
  • Loading branch information
warnyul authored Mar 8, 2024
2 parents 2ca316f + dd088cc commit cb4fa09
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
1 change: 1 addition & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions robolectric-extension/src/main/kotlin/Main.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package tech.apter.junit.jupiter.robolectric

import org.junit.jupiter.api.extension.Extension

class RobolectricExtension : Extension
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package tech.apter.junit.jupiter.robolectric.internal

import org.junit.platform.commons.logging.LoggerFactory

internal fun Any.createLogger() = LoggerFactory.getLogger(javaClass)

0 comments on commit cb4fa09

Please sign in to comment.