From c4633166063b94c4d6b89f705263a14f16973ab8 Mon Sep 17 00:00:00 2001 From: Tim Penhey Date: Mon, 29 Oct 2012 10:34:54 +0100 Subject: Use the new logging declarations to avoid static initialization of the logger objects. (bzr r2866.1.1) --- shortcuts/ShortcutHint.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'shortcuts') diff --git a/shortcuts/ShortcutHint.cpp b/shortcuts/ShortcutHint.cpp index a0105f562..af2415932 100644 --- a/shortcuts/ShortcutHint.cpp +++ b/shortcuts/ShortcutHint.cpp @@ -24,14 +24,12 @@ #include "ShortcutHintPrivate.h" +DECLARE_LOGGER(logger, "unity.shortcut"); + namespace unity { namespace shortcut { -namespace -{ - nux::logging::Logger logger("unity.shortcut"); -} // anonymouse namespace // Ctor Hint::Hint(std::string const& category, -- cgit v1.2.3