mirror of https://github.com/sbt/sbt.git
fix Logger/Process
This commit is contained in:
parent
368bdd2701
commit
4bb7c44730
|
|
@ -20,7 +20,7 @@ class XSbt(info: ProjectInfo) extends ParentProject(info) with NoCrossPaths
|
||||||
val ioSub = testedBase(utilPath / "io", "IO", controlSub)
|
val ioSub = testedBase(utilPath / "io", "IO", controlSub)
|
||||||
val classpathSub = baseProject(utilPath / "classpath", "Classpath", launchInterfaceSub, ioSub)
|
val classpathSub = baseProject(utilPath / "classpath", "Classpath", launchInterfaceSub, ioSub)
|
||||||
val completeSub = project(utilPath / "complete", "Completion", new InputProject(_), controlSub, 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 classfileSub = testedBase(utilPath / "classfile", "Classfile", ioSub, interfaceSub, logSub)
|
||||||
val datatypeSub = baseProject(utilPath /"datatype", "Datatype Generator", ioSub)
|
val datatypeSub = baseProject(utilPath /"datatype", "Datatype Generator", ioSub)
|
||||||
val envSub= baseProject(utilPath / "env", "Properties", ioSub, logSub, classpathSub)
|
val envSub= baseProject(utilPath / "env", "Properties", ioSub, logSub, classpathSub)
|
||||||
|
|
|
||||||
|
|
@ -33,13 +33,11 @@ abstract class AbstractLogger extends Logger
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
These need to go in a module that integrates Logger and Process.
|
|
||||||
object Logger
|
object Logger
|
||||||
{
|
{
|
||||||
implicit def absLog2PLog(log: AbstractLogger): ProcessLogger = new BufferedLogger(log) with ProcessLogger
|
implicit def absLog2PLog(log: AbstractLogger): ProcessLogger = new BufferedLogger(log) with ProcessLogger
|
||||||
implicit def log2PLog(log: Logger): ProcessLogger = absLog2PLog(new FullLogger(log))
|
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.
|
/** This is intended to be the simplest logging interface for use by code that wants to log.
|
||||||
* It does not include configuring the logger. */
|
* It does not include configuring the logger. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue