From 4bb7c447306453c6b6526afd1e138de797617535 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 22 Aug 2010 19:07:46 -0400 Subject: [PATCH] fix Logger/Process --- project/build/XSbt.scala | 2 +- util/log/Logger.scala | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/project/build/XSbt.scala b/project/build/XSbt.scala index 2bea3bd2d..810ce0b94 100644 --- a/project/build/XSbt.scala +++ b/project/build/XSbt.scala @@ -20,7 +20,7 @@ class XSbt(info: ProjectInfo) extends ParentProject(info) with NoCrossPaths val ioSub = testedBase(utilPath / "io", "IO", controlSub) val classpathSub = baseProject(utilPath / "classpath", "Classpath", launchInterfaceSub, ioSub) val completeSub = project(utilPath / "complete", "Completion", new InputProject(_), controlSub, ioSub) - val logSub = project(utilPath / "log", "Logging", new LogProject(_), interfaceSub) + val logSub = project(utilPath / "log", "Logging", new LogProject(_), interfaceSub, processSub) val classfileSub = testedBase(utilPath / "classfile", "Classfile", ioSub, interfaceSub, logSub) val datatypeSub = baseProject(utilPath /"datatype", "Datatype Generator", ioSub) val envSub= baseProject(utilPath / "env", "Properties", ioSub, logSub, classpathSub) diff --git a/util/log/Logger.scala b/util/log/Logger.scala index 0751b72c8..4a0f9c365 100644 --- a/util/log/Logger.scala +++ b/util/log/Logger.scala @@ -33,13 +33,11 @@ abstract class AbstractLogger extends Logger } } -/* -These need to go in a module that integrates Logger and Process. object Logger { implicit def absLog2PLog(log: AbstractLogger): ProcessLogger = new BufferedLogger(log) with ProcessLogger implicit def log2PLog(log: Logger): ProcessLogger = absLog2PLog(new FullLogger(log)) -}*/ +} /** This is intended to be the simplest logging interface for use by code that wants to log. * It does not include configuring the logger. */