diff options
author | David Robillard <d@drobilla.net> | 2010-01-06 23:48:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-01-06 23:48:32 +0000 |
commit | fd945013143466e26f0d481d675401fa745716ba (patch) | |
tree | d029aef1cb9f87a061c04833b3597f8f8f40b90a /raul/Process.hpp | |
parent | c507f80c17ef71e9d096c8c4bdd729c7adc68f6e (diff) | |
download | raul-fd945013143466e26f0d481d675401fa745716ba.tar.gz raul-fd945013143466e26f0d481d675401fa745716ba.tar.bz2 raul-fd945013143466e26f0d481d675401fa745716ba.zip |
Fancy (optinally) coloured logging system.
Do all logging output via Raul logging streams.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2348 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Process.hpp')
-rw-r--r-- | raul/Process.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/raul/Process.hpp b/raul/Process.hpp index 675f1d7..719a9d4 100644 --- a/raul/Process.hpp +++ b/raul/Process.hpp @@ -24,6 +24,7 @@ #include <sys/time.h> #include <sys/resource.h> #include <boost/utility.hpp> +#include "raul/log.hpp" namespace Raul { @@ -47,7 +48,7 @@ public: const std::string arguments = command.substr((command.find(" ") + 1)); - std::cerr << "Launching child process '" << executable << "' with arguments '" + info << "Launching child process '" << executable << "' with arguments '" << arguments << "'" << std::endl; // Use the same double fork() trick as JACK to prevent zombie children |