Quantcast
Channel: alvinalexander.com - configure
Viewing all articles
Browse latest Browse all 24

How to log output to a file in a Scala application with Grizzled-SLF4J

$
0
0

At the moment it’s not easy to find instructions on how to log output to a file using Grizzled-SLF4J in a Scala application, so I’m taking a few moments to show how this is done.

Grizzled-SLF4J dependencies

First, assuming that you’re using SBT, your build.sbt file should look like this:

read more


Viewing all articles
Browse latest Browse all 24

Trending Articles