<commit_before>/* sbt -- Simple Build Tool
 * Copyright 2008, 2009 <NAME>
 */
package sbt

import org.apache.ivy.util.{Message, MessageLogger}

trait IvyLogger extends NotNull
{
	def info(msg: => String)
	def debug(msg: => String)
	def warn(msg: => String)
	def error(msg: => String)
	def verbose(msg: => String)
}

/** Interface to Ivy logging. */
private final class IvyLoggerInterface(logger: IvyLogger) extends MessageLogger
{
	def rawlog(msg: String, level: Int) = log(msg, level)
	def log(msg: String, level: Int)
	{
		import Message.{MSG_DEBUG, MSG_VERBOSE, MSG_INFO, MSG_WARN, MSG_ERR}
		level match
		{
			case MSG_DEBUG => debug(msg)
			case MSG_VERBOSE => verbose(msg)<commit_msg>fix compiler error in 'ivy'<commit_after>/* sbt -- Simple Build Tool
 * Copyright 2008, 2009 <NAME>
 */
package sbt

import org.apache.ivy.util.{Message, MessageLogger, MessageLoggerEngine}

trait IvyLogger extends NotNull
{
	def info(msg: => String)
	def debug(msg: => String)
	def warn(msg: => String)
	def error(msg: => String)
	def verbose(msg: => String)
}

/** Interface to Ivy logging. */
private final class IvyLoggerInterface(logger: IvyLogger) extends MessageLogger
{
	def rawlog(msg: String, level: Int) = log(msg, level)
	def log(msg: String, level: Int)
	{
		import Message.{MSG_DEBUG, MSG_VERBOSE, MSG_INFO, MSG_WARN, MSG_ERR}
		level match
		{
			case MSG_DEBUG => debug(msg)
			case MSG_VERBOSE => verbose(msg)
{'fraction_non_alphanumeric': 0.12632321806633734, 'fraction_numerical': 0.011291460832745237, 'mean_word_length': 4.582677165354331, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '724544', 'n_tokens_mistral': 534, 'n_tokens_neox': 490, 'n_words': 144}