Skip to content

Commit

Permalink
feat: register JSON formatter defaultly
Browse files Browse the repository at this point in the history
  • Loading branch information
3Hren committed Aug 22, 2016
1 parent 7c6761d commit 0aeaa6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/essentials.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "essentials.hpp"

#include "blackhole/filter/severity.hpp"
#include "blackhole/formatter/json.hpp"
#include "blackhole/formatter/string.hpp"
#include "blackhole/handler/blocking.hpp"
#include "blackhole/handler/dev.hpp"
Expand All @@ -19,6 +20,7 @@ inline namespace v1 {
auto essentials(registry_t& registry) -> void {
registry.add<filter::severity_t>();

registry.add<formatter::json_t>();
registry.add<formatter::string_t>();

registry.add<sink::asynchronous_t>(registry);
Expand Down

0 comments on commit 0aeaa6a

Please sign in to comment.