[mlpack-git] [mlpack] better Boost test output (#344)

Ryan Curtin notifications at github.com
Wed Feb 18 09:27:09 EST 2015


Hi QiaoAn, thanks for looking into that.  The `Log` class in `src/mlpack/core/util/`, which is what `Log::Debug`, `Log::Info`, and `Log::Warn` are, can be disabled like so:

```Log::Debug.ignoreInput = true;```

But certainly we don't want to put three ignoreInput lines at the top of every test case.  Instead it may be better to modify the `Log` code so that ignoreInput defaults to true if a Boost test is being compiled (a user who is writing tests should be able to override this option, so that they can get output from `Log` if they want).

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/344#issuecomment-74871656
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150218/11e94717/attachment.html>


More information about the mlpack-git mailing list