summaryrefslogtreecommitdiffstats
path: root/raul/AtomLiblo.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-06 23:48:32 +0000
committerDavid Robillard <d@drobilla.net>2010-01-06 23:48:32 +0000
commitfd945013143466e26f0d481d675401fa745716ba (patch)
treed029aef1cb9f87a061c04833b3597f8f8f40b90a /raul/AtomLiblo.hpp
parentc507f80c17ef71e9d096c8c4bdd729c7adc68f6e (diff)
downloadraul-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/AtomLiblo.hpp')
-rw-r--r--raul/AtomLiblo.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp
index 7494ae4..fe6888a 100644
--- a/raul/AtomLiblo.hpp
+++ b/raul/AtomLiblo.hpp
@@ -20,6 +20,7 @@
#include <iostream>
#include <lo/lo.h>
+#include "raul/log.hpp"
#include "raul/Atom.hpp"
namespace Raul {
@@ -85,7 +86,7 @@ lo_arg_to_atom(char type, lo_arg* arg)
case 'F':
return Atom((bool)false);
default:
- std::cerr << "WARNING: Unable to convert OSC type '"
+ warn << "Unable to convert OSC type '"
<< type << "' to Atom" << std::endl;
return Atom();
}