Skip to content

Commit

Permalink
Merge pull request #121 from deltacv/dev
Browse files Browse the repository at this point in the history
v3.8.0
  • Loading branch information
serivesmejia authored Oct 29, 2024
2 parents 0028b6f + 6b3285b commit 1180f5c
Show file tree
Hide file tree
Showing 84 changed files with 8,016 additions and 3,942 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ fabric.properties

*.log

*.pem

**/Build.java
**/build/*

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
package com.github.serivesmejia.eocvsim.util

import org.slf4j.LoggerFactory
import kotlin.reflect.KClass

fun Any.loggerFor(clazz: KClass<*>) = lazy { LoggerFactory.getLogger(clazz.java) }
fun Any.loggerForThis() = lazy { LoggerFactory.getLogger(this::class.java) }

fun loggerOf(name: String) = lazy { LoggerFactory.getLogger(name) }
package com.github.serivesmejia.eocvsim.util

import org.slf4j.LoggerFactory
import kotlin.reflect.KClass

fun Any.loggerFor(clazz: KClass<*>) = lazy {
LoggerFactory.getLogger(clazz.java)
}

fun Any.loggerForThis() = lazy {
LoggerFactory.getLogger(this::class.java)
}

fun loggerOf(name: String) = lazy {
LoggerFactory.getLogger(name)
}
Loading

0 comments on commit 1180f5c

Please sign in to comment.