From 6ef1c3e5d915cd655cf1f8727e35d52b64ee196a Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Mon, 16 Jun 2014 18:48:02 -0400 Subject: [PATCH] Spelling fix --- include/fc/log/logger.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/fc/log/logger.hpp b/include/fc/log/logger.hpp index a5b21f1..be87964 100644 --- a/include/fc/log/logger.hpp +++ b/include/fc/log/logger.hpp @@ -57,8 +57,8 @@ namespace fc } // namespace fc -#ifndef DEFAULT_LOOGER -#define DEFAULT_LOOGER +#ifndef DEFAULT_LOGGER +#define DEFAULT_LOGGER #endif @@ -92,29 +92,29 @@ namespace fc #define dlog( FORMAT, ... ) \ do { \ - if( (fc::logger::get(DEFAULT_LOOGER)).is_enabled( fc::log_level::debug ) ) { \ - (fc::logger::get(DEFAULT_LOOGER)).log( FC_LOG_MESSAGE( debug, FORMAT, __VA_ARGS__ ) ); \ + if( (fc::logger::get(DEFAULT_LOGGER)).is_enabled( fc::log_level::debug ) ) { \ + (fc::logger::get(DEFAULT_LOGGER)).log( FC_LOG_MESSAGE( debug, FORMAT, __VA_ARGS__ ) ); \ } \ } while (0) #define ilog( FORMAT, ... ) \ do { \ - if( (fc::logger::get(DEFAULT_LOOGER)).is_enabled( fc::log_level::info ) ) { \ - (fc::logger::get(DEFAULT_LOOGER)).log( FC_LOG_MESSAGE( info, FORMAT, __VA_ARGS__ ) ); \ + if( (fc::logger::get(DEFAULT_LOGGER)).is_enabled( fc::log_level::info ) ) { \ + (fc::logger::get(DEFAULT_LOGGER)).log( FC_LOG_MESSAGE( info, FORMAT, __VA_ARGS__ ) ); \ } \ } while (0) #define wlog( FORMAT, ... ) \ do { \ - if( (fc::logger::get(DEFAULT_LOOGER)).is_enabled( fc::log_level::warn ) ) { \ - (fc::logger::get(DEFAULT_LOOGER)).log( FC_LOG_MESSAGE( warn, FORMAT, __VA_ARGS__ ) ); \ + if( (fc::logger::get(DEFAULT_LOGGER)).is_enabled( fc::log_level::warn ) ) { \ + (fc::logger::get(DEFAULT_LOGGER)).log( FC_LOG_MESSAGE( warn, FORMAT, __VA_ARGS__ ) ); \ } \ } while (0) #define elog( FORMAT, ... ) \ do { \ - if( (fc::logger::get(DEFAULT_LOOGER)).is_enabled( fc::log_level::error ) ) { \ - (fc::logger::get(DEFAULT_LOOGER)).log( FC_LOG_MESSAGE( error, FORMAT, __VA_ARGS__ ) ); \ + if( (fc::logger::get(DEFAULT_LOGGER)).is_enabled( fc::log_level::error ) ) { \ + (fc::logger::get(DEFAULT_LOGGER)).log( FC_LOG_MESSAGE( error, FORMAT, __VA_ARGS__ ) ); \ } \ } while (0)