Skip to content

Instantly share code, notes, and snippets.

@Timshel
Last active October 12, 2016 08:33
Show Gist options
  • Save Timshel/a2e240fcf813f177160eb3d792c4462c to your computer and use it in GitHub Desktop.
Save Timshel/a2e240fcf813f177160eb3d792c4462c to your computer and use it in GitHub Desktop.
Preparation for Play 2.5 migration
package service.campaigns
import org.slf4j.LoggerFactory
class Service(
apnClient: ApnClient,
mmClient: MediaMathClient,
pushedCampaigns: PushedCampaigns,
fanoutHelper: FanoutHelper.type
) {
val logger = LoggerFactory.getLogger("application.service.campaigns.Service") // "application.$package.$className"
}
object Service extends Service(Global.apnClient, Global.mmClient, PushedCampaigns, FanoutHelper)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment