fix Logger/Process

This commit is contained in:
Mark Harrah 2010-08-22 19:07:46 -04:00
parent 368bdd2701
commit 4bb7c44730
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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. */