Home Code Other Software

Table of Contents

Build Status

Introduction

AVSL is a very simple logger, written in Scala. AVSL implements the Simple Logging Facade for Java (SLF4J) API, allowing applications to be written to the SLF4J API. (This, of course, includes Java applications.) Because it implements SLF4J, AVSL can easily be swapped for another SLF4J-compatible logging framework (or the other way around), without any changes to the calling application. Also, because it supports SLF4J, AVSL can be used in conjunction with Scala SLF4J wrappers, such as Grizzled-SLF4J.

“AVSL” stands for “A Very Simple Logger”, and AVSL strives for simplicity in several ways.

In short, AVSL is a perfectly serviceable, simple logging framework that can easily be swapped out for something with more features.

Installation

AVSL is published to my Bintray Maven repository, which is automatically linked to Bintray’s JCenter repository. (From JCenter, it’s eventually pushed to the Maven Central Repository.

sync’d with the Maven Central Repository.

Installing for Maven

If you’re using Maven, just give it the artifact, and Maven will do the rest:

For example:

<dependency>
  <groupId>org.clapper</groupId>
  <artifactId>avsl_2.11</artifactId>
  <version>1.0.10</version>
</dependency>

For more information on using Maven and Scala, see Josh Suereth’s Scala Maven Guide.

Using with SBT

Add the following to your SBT build:

libraryDependencies += "org.clapper" %% "avsl" % "1.0.10"

Source Code Repository

The source code for AVSL is maintained on GitHub. To clone the repository, run this command:

$ git clone git://github.com/bmc/avsl.git

Building from Source

Building the library requires SBT 0.13.x, but you don’t need to download it, as the repo has a copy of Lightbend Activator. To build, just run:

bin/activator +compile +test +package

The resulting jar file will be in the top-level target directory.

Documentation

Please consult the User’s Guide for details on how to use and configure AVSL.

Change log

The change log for all releases is here.

Author

Brian M. Clapper, bmc@clapper.org

AVSL is copyright © 2010-2014 Brian M. Clapper and is released under a BSD License.

Patches

I gladly accept patches from their original authors. Feel free to email patches to me or to fork the GitHub repository and send me a pull request. Along with any patch you send: