Skip to content

abe545/strider-msbuild-logger

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

strider-msbuild-logger

A logger for msbuild that can be used to prettify msbuild's output for strider. It outputs to stdout and stderr, and automatically colorizes its output (msbuild won't do so to buffers that are not consoles).

Example usage:

var spawn = require('child_process').spawn;

try {
  var logger = require('strider-msbuild-logger')();
} catch (err) {
  logger = null;
}

var args = ['project-path'];
if (logger) {
  // shut off the standard console logger, otherwise the output will be logged twice
  args.push('/noconsolelogger', '/logger:' + logger);
}

spawn('msbuild', args);

About

A logger for msbuild that can be used as an optional dependency in a node project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published