diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-27 20:07:58 +0800 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-27 20:07:58 +0800 |
commit | 4925d7840a40c562c8e48d92b7f38ba6d39099c5 (patch) | |
tree | c4f6ed26f5415a0342085249a3bc73a5939d019e /stage1/Stage1Lib.scala | |
parent | d0726561bbc5b7464c1a7cbb7e8110216051827d (diff) | |
download | cbt-4925d7840a40c562c8e48d92b7f38ba6d39099c5.tar.gz cbt-4925d7840a40c562c8e48d92b7f38ba6d39099c5.tar.bz2 cbt-4925d7840a40c562c8e48d92b7f38ba6d39099c5.zip |
minor logging improvements
Diffstat (limited to 'stage1/Stage1Lib.scala')
-rw-r--r-- | stage1/Stage1Lib.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala index 3b559b5..71e6ee5 100644 --- a/stage1/Stage1Lib.scala +++ b/stage1/Stage1Lib.scala @@ -93,7 +93,7 @@ class Stage1Lib( logger: Logger ) extends BaseLib{ def runMain( cls: String, args: Seq[String], classLoader: ClassLoader, fakeInstance: Boolean = false ): ExitCode = { import java.lang.reflect.Modifier - logger.lib(s"Running $cls.main($args) with classLoader: " ++ classLoader.toString) + logger.run(s"Running $cls.main($args) with classLoader: " ++ classLoader.toString) trapExitCode{ val c = classLoader.loadClass(cls) val m = c.getMethod( "main", classOf[Array[String]] ) |