Inheritance: ConsoleLogger
示例#1
0
        public string Build()
        {
            var logger = new CapturingLogger(LoggerVerbosity.Normal);

            if (!Project.Build(logger))
            {
                throw new ApplicationException("Build failed");
            }

            return(logger.ToString());
        }
示例#2
0
        public string Build()
        {
            var logger = new CapturingLogger(LoggerVerbosity.Normal);
            if(!Project.Build(logger))
                throw new ApplicationException("Build failed");

            return logger.ToString();
        }