diff options
author | David Robillard <d@drobilla.net> | 2019-03-08 12:38:19 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-09 00:43:43 +0100 |
commit | 532af2452bac2cdd0e2732ad145fdc2b141a4afc (patch) | |
tree | 0b078c37a137ef0da3a1e76bc150e99f65f6d7dc /src/server/events | |
parent | 6bb3c48972d172fec244afae08a905e2246d9cda (diff) | |
download | ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.tar.gz ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.tar.bz2 ingen-532af2452bac2cdd0e2732ad145fdc2b141a4afc.zip |
Localise dependency on boost::format and improve logging API
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Delta.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index efc50bce..982b1141 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -127,7 +127,7 @@ Delta::add_set_event(const char* port_symbol, BlockImpl* block = dynamic_cast<BlockImpl*>(_object); PortImpl* port = block->port_by_symbol(port_symbol); if (!port) { - _engine.log().warn(fmt("Unknown port `%1%' in state") % port_symbol); + _engine.log().warn("Unknown port `%1%' in state", port_symbol); return; } @@ -373,7 +373,7 @@ Delta::pre_process(PreProcessContext& ctx) lilv_state_emit_port_values( _state, s_add_set_event, this); } else { - _engine.log().warn(fmt("Failed to load preset <%1%>\n") % uri); + _engine.log().warn("Failed to load preset <%1%>\n", uri); } } else { _status = Status::BAD_VALUE; |