<commit_before><commit_msg>An example using the Location traits/tags<commit_after>package location

import org.scalawag.timber.api.style.slf4j._
import org.scalawag.timber.impl.{Locationable, Location}
import org.scalawag.timber.impl.Locationable.WithLocation
import org.scalawag.timber.impl.dispatcher.SynchronousEntryDispatcher

object LocationMain {
  def main(args:Array[String]) {
    val dispatcher = new SynchronousEntryDispatcher
    val loggers = Seq(
      new Logger("Locationable",dispatcher) with Locationable,
      new Logger("Location",dispatcher) with Location
    )

    loggers foreach { l =>
      l.debug("blah")
      l.debug("blah",WithLocation)
    }
  }
}

/* timber -- Copyright 2012 <NAME> -- All Rights Reserved */
{'fraction_non_alphanumeric': 0.10646900269541779, 'fraction_numerical': 0.006738544474393531, 'mean_word_length': 4.232394366197183, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3949448', 'n_tokens_mistral': 233, 'n_tokens_neox': 224, 'n_words': 47}