aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eina_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-03-10 12:25:20 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-03-10 12:35:00 +0900
commit416376e03c8ac2f5fa990956fbebcada5704c666 (patch)
treec5cbe401523d90a95d734f672280c82b8cd9b3a5 /src/Makefile_Eina_Cxx.am
parenteina-cxx: Added range types for containers (diff)
downloadefl-416376e03c8ac2f5fa990956fbebcada5704c666.tar.gz
eina-cxx: Added eina_log support for C++, using IOStreams syntax
Summary: Added eina_log support for C++ using the following macros: For logging into a domain: EINA_CXX_DOM_LOG EINA_CXX_DOM_LOG_CRIT EINA_CXX_DOM_LOG_ERR EINA_CXX_DOM_LOG_INFO EINA_CXX_DOM_LOG_DBG EINA_CXX_DOM_LOG_WARN And for logging into the default domain: EINA_CXX_LOG EINA_CXX_LOG_CRIT EINA_CXX_LOG_ERR EINA_CXX_LOG_INFO EINA_CXX_LOG_DBG EINA_CXX_LOG_WARN The usage is simple as can be seen in the tests: efl::eina::log_domain domain("error_domain_name"); domain.set_level(efl::eina::log_level::critical); EINA_CXX_DOM_LOG_CRIT(domain, "something went wrong with the following error: " << error); @feature Reviewers: cedric CC: raster, savio, cedric, sanjeev Differential Revision: https://phab.enlightenment.org/D605
Diffstat (limited to 'src/Makefile_Eina_Cxx.am')
-rw-r--r--src/Makefile_Eina_Cxx.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile_Eina_Cxx.am b/src/Makefile_Eina_Cxx.am
index 60fead4124..69ae679010 100644
--- a/src/Makefile_Eina_Cxx.am
+++ b/src/Makefile_Eina_Cxx.am
@@ -33,6 +33,7 @@ TESTS += tests/eina_cxx/eina_cxx_suite
tests_eina_cxx_eina_cxx_suite_SOURCES = \
tests/eina_cxx/eina_cxx_suite.cc \
tests/eina_cxx/eina_cxx_test_inlist.cc \
+tests/eina_cxx/eina_cxx_test_log.cc \
tests/eina_cxx/eina_cxx_test_inarray.cc \
tests/eina_cxx/eina_cxx_test_iterator.cc \
tests/eina_cxx/eina_cxx_test_ptrarray.cc \