All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.misk.logging.LogCollectorModule.kt Maven / Gradle / Ivy

There is a newer version: 2024.09.17.200749-4708422
Show newest version
package misk.logging

import misk.ReadyService
import misk.ServiceModule
import misk.inject.KAbstractModule
import wisp.logging.LogCollector
import wisp.logging.WispQueuedLogCollector
import com.google.inject.Provider

class LogCollectorModule : KAbstractModule() {
  override fun configure() {
    bind().to()
    bind().to()
    bind().toProvider(Provider { WispQueuedLogCollector() })
    install(ServiceModule().enhancedBy())
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy