efl/src
Felipe Magno de Almeida 416376e03c 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
2014-03-10 12:35:00 +09:00
..
benchmarks eina: ignore benchmark binary. 2013-12-04 18:33:05 +09:00
bin Eolian/Generator: more fixes related to stars to add to params. 2014-03-09 13:19:30 +02:00
bindings eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
edje_external/emotion efl: Unified eina critical manro to CRI. 2013-12-26 12:27:13 +09:00
examples ecore_avahi: remove useless printf. 2014-02-28 19:58:25 -03:00
lib eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
modules Evas filters: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER 2014-03-07 17:48:23 +09:00
scripts/eina pkgbuild - enable scim by default for input methods and sdl is pointless 2013-12-23 13:38:54 +09:00
static_libs Synced libunibreak local copy with upstream. 2014-01-21 16:41:06 +00:00
tests eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
utils/ecore ecore - utils - makekeys - fix uniitialized arrays 2013-12-13 21:26:05 +09:00
Makefile.am Eolian: Fix path to .eo 2014-03-09 13:19:07 +02:00
Makefile_EPhysics.am
Makefile_Ecore.am ecore: remove coroutine for now. Can easily be reverted for 1.9. 2013-11-05 11:12:20 +09:00
Makefile_Ecore_Audio.am
Makefile_Ecore_Avahi.am Ecore_Avahi: initial commit. 2013-12-17 19:37:05 +09:00
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am
Makefile_Ecore_Cxx.am ecore_cxx: add main_loop_thread_safe_call_sync and main_loop_thread_safe_call_async with tests 2014-02-26 18:52:08 -03:00
Makefile_Ecore_Drm.am ecore-drm: Add ecore-drm Makefile 2014-03-06 11:17:26 +00:00
Makefile_Ecore_Evas.am ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break. 2014-01-04 11:23:47 +09:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Psl1ght.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_WinCE.am
Makefile_Ecore_X.am ecore-x now supports XPRESENT 2014-01-13 10:19:11 -05:00
Makefile_Edje.am Fix make distcheck 2014-02-17 19:14:25 +09:00
Makefile_Edje_Helper.am
Makefile_Eet.am Eet: Added vieet a tool to edit eet files. 2014-03-07 15:11:30 +00:00
Makefile_Eeze.am alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Makefile_Efl.am
Makefile_Efreet.am efreet: add async menu test 2013-11-29 22:20:50 +01:00
Makefile_Eina.am
Makefile_Eina_Cxx.am eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
Makefile_Eio.am
Makefile_Eldbus.am
Makefile_Embryo.am
Makefile_Emotion.am Fix make distcheck 2014-02-17 19:14:25 +09:00
Makefile_Eo.am
Makefile_Eolian.am Eolian: Split eolian build helper a different file. 2014-03-03 14:09:54 +02:00
Makefile_Eolian_Helper.am Eolian Helper file: Fixed generation of legacy headers. 2014-03-07 12:11:24 +00:00
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am Eolian: Integration of Evas Text 2014-03-09 13:18:57 +02:00
Makefile_Evil.am Evil: Fix parallel build for Windows 2014-02-21 10:18:48 +09:00