\hypertarget{group__Eina__Log__Group}{}\section{Log}
\label{group__Eina__Log__Group}\index{Log@{Log}}


Full-\/featured logging system.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eina__Log__Domain}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain}}
\begin{DoxyCompactList}\small\item\em The domain used for logging. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}~\mbox{\hyperlink{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL}}
\begin{DoxyCompactList}\small\item\em This macro defines the domain to use with the macros \mbox{\hyperlink{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+D\+B\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga782f84a4805166d2707cb4d59217c64e}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+I\+N\+F\+O()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga5073ce1fbcc1f6ea8d0670aac2ecce70}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+W\+A\+R\+N()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+E\+R\+R()}} and \mbox{\hyperlink{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+C\+R\+I\+T()}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM,  L\+E\+V\+EL,  fmt, ...)
\begin{DoxyCompactList}\small\item\em Logs a message on the specified domain, level and format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}\label{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+C\+R\+IT}}(D\+OM,  fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa620ee82716c2c262ad2929823cf24ebd}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level C\+R\+I\+T\+I\+C\+AL on the specified domain and format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}\label{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+E\+RR}}(D\+OM,  fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa8252243003214c2e38a3b228fc85eb80}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level E\+R\+R\+OR on the specified domain and format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga782f84a4805166d2707cb4d59217c64e}\label{group__Eina__Log__Group_ga782f84a4805166d2707cb4d59217c64e}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga782f84a4805166d2707cb4d59217c64e}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+I\+N\+FO}}(D\+OM,  fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa0368139789af856a6ad9bbe4f21d195f}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level I\+N\+FO on the specified domain and format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}\label{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+D\+BG}}(D\+OM,  fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aafdc5a5cfb78f5e4d5851447ed798af50}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level D\+E\+B\+UG on the specified domain and format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga5073ce1fbcc1f6ea8d0670aac2ecce70}\label{group__Eina__Log__Group_ga5073ce1fbcc1f6ea8d0670aac2ecce70}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga5073ce1fbcc1f6ea8d0670aac2ecce70}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+W\+A\+RN}}(D\+OM,  fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(D\+OM, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level W\+A\+RN on the specified domain and format. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT}}(fmt, ...)
\begin{DoxyCompactList}\small\item\em Logs a message with level C\+R\+I\+T\+I\+C\+AL on the default domain with the specified format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}\label{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+RR}}(fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(\mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa8252243003214c2e38a3b228fc85eb80}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level E\+R\+R\+OR on the default domain with the specified format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_gafb145e82df0f9441244832c94e87a21b}\label{group__Eina__Log__Group_gafb145e82df0f9441244832c94e87a21b}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_gafb145e82df0f9441244832c94e87a21b}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+I\+N\+FO}}(fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(\mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa0368139789af856a6ad9bbe4f21d195f}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level I\+N\+FO on the default domain with the specified format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga21c44f66537533db16ee8f475ae2ae70}\label{group__Eina__Log__Group_ga21c44f66537533db16ee8f475ae2ae70}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga21c44f66537533db16ee8f475ae2ae70}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+W\+A\+RN}}(fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(\mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level W\+A\+RN on the default domain with the specified format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga09b88349373c2158f988d72375af5849}\label{group__Eina__Log__Group_ga09b88349373c2158f988d72375af5849}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga09b88349373c2158f988d72375af5849}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+BG}}(fmt, ...)~\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+OG}}(\mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}, \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aafdc5a5cfb78f5e4d5851447ed798af50}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG}}, fmt, \#\# \+\_\+\+\_\+\+V\+A\+\_\+\+A\+R\+G\+S\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Logs a message with level D\+E\+B\+UG on the default domain with the specified format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga079e9de9602815a6de0d5188b65c07a2}\label{group__Eina__Log__Group_ga079e9de9602815a6de0d5188b65c07a2}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga079e9de9602815a6de0d5188b65c07a2}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+S\+T\+A\+T\+E\+\_\+\+I\+N\+IT}}~\mbox{\hyperlink{group__Eina__Log__Group_gac6cb4966743a888defdb33610b4235aa}{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init}}
\begin{DoxyCompactList}\small\item\em String that indicates the log system is initializing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga527ad9352599d503a53bf834868d3461}\label{group__Eina__Log__Group_ga527ad9352599d503a53bf834868d3461}} 
\#define \mbox{\hyperlink{group__Eina__Log__Group_ga527ad9352599d503a53bf834868d3461}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+S\+T\+A\+T\+E\+\_\+\+S\+H\+U\+T\+D\+O\+WN}}~\mbox{\hyperlink{group__Eina__Log__Group_gabac7f0e5825da708e73faa9123f41fc6}{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}}
\begin{DoxyCompactList}\small\item\em String that indicates the log system is shutting down. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}\label{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}} 
typedef struct \mbox{\hyperlink{struct__Eina__Log__Domain}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain}} \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}}
\begin{DoxyCompactList}\small\item\em The domain used for logging. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}\label{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}} 
typedef enum \mbox{\hyperlink{group__Eina__Log__Group_ga326699509b2e7578ace7c0a15b4a8c1a}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}} \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}
\begin{DoxyCompactList}\small\item\em List of available logging levels. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga76501a2d10e374980c4012664e4ca96f}\label{group__Eina__Log__Group_ga76501a2d10e374980c4012664e4ca96f}} 
typedef void($\ast$ \mbox{\hyperlink{group__Eina__Log__Group_ga76501a2d10e374980c4012664e4ca96f}{Eina\+\_\+\+Log\+\_\+\+Print\+\_\+\+Cb}}) (const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$d, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, void $\ast$data, va\+\_\+list args)
\begin{DoxyCompactList}\small\item\em Type for print callbacks. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_gadfcd7fc51aaa188de388a7f4c6164d83}\label{group__Eina__Log__Group_gadfcd7fc51aaa188de388a7f4c6164d83}} 
typedef enum \mbox{\hyperlink{group__Eina__Log__Group_ga125f3b55502884020a1546d0575ae052}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+State}} \mbox{\hyperlink{group__Eina__Log__Group_gadfcd7fc51aaa188de388a7f4c6164d83}{Eina\+\_\+\+Log\+\_\+\+State}}
\begin{DoxyCompactList}\small\item\em List of available log states. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Eina__Log__Group_ga326699509b2e7578ace7c0a15b4a8c1a}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}} \{ \newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa620ee82716c2c262ad2929823cf24ebd}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa8252243003214c2e38a3b228fc85eb80}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa0368139789af856a6ad9bbe4f21d195f}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aafdc5a5cfb78f5e4d5851447ed798af50}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa880f2906e9b871ce8f590316d2f60652}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS}}, 
\newline
\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aaa3ab2a3e3ae9d08a60e939d56198bb96}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN}} = (-\/2147483647 -\/ 1)
 \}
\begin{DoxyCompactList}\small\item\em List of available logging levels. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga125f3b55502884020a1546d0575ae052}\label{group__Eina__Log__Group_ga125f3b55502884020a1546d0575ae052}} 
enum \mbox{\hyperlink{group__Eina__Log__Group_ga125f3b55502884020a1546d0575ae052}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+State}} \{ \newline
{\bfseries E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+S\+T\+A\+T\+E\+\_\+\+S\+T\+A\+RT}, 
\newline
{\bfseries E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+S\+T\+A\+T\+E\+\_\+\+S\+T\+OP}
 \}
\begin{DoxyCompactList}\small\item\em List of available log states. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}{eina\+\_\+log\+\_\+threads\+\_\+enable}} (void)
\begin{DoxyCompactList}\small\item\em Enable logging module to handle threads. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga50184735e08f530d4139c28fcdb02fbb}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set}} (\mbox{\hyperlink{group__Eina__Log__Group_ga76501a2d10e374980c4012664e4ca96f}{Eina\+\_\+\+Log\+\_\+\+Print\+\_\+\+Cb}} cb, void $\ast$data) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Sets logging method to use. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set}} (int level)
\begin{DoxyCompactList}\small\item\em Sets the default log level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_gaf825e9e4c1efa7c2b4155e3863b06408}{eina\+\_\+log\+\_\+level\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets the default log level. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_ga6506707f51c09f5876cf8b4cf47e7e26}{eina\+\_\+log\+\_\+level\+\_\+check}} (int level)
\begin{DoxyCompactList}\small\item\em Determines if a given {\ttfamily level} should be logged. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_ga3441a26eba4e2f1c504436d57d099eb1}{eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga04f4a207fcde054c818bace8af77dcd6}{E\+I\+N\+A\+\_\+\+C\+O\+N\+ST}} \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Checks if current thread is the main thread. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga4da16869de2aa4aacbefe403c5023ec2}{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set}} (\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} disabled)
\begin{DoxyCompactList}\small\item\em Enables or disables colored text in the logs. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_gae49c947e0b48d26a5662de6c50ef9b6d}{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Determines if color logging is enabled or disabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga02aa56a48250b5ebd4770f0d8e2b1236}{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set}} (\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} disabled)
\begin{DoxyCompactList}\small\item\em Sets if originating file name logging should be disabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_gad395079cbae5837f5a9032e7ee0d0c61}{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets if originating file name logging should be disabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_gadb6bfb1070dc360d22d828b98cdae31c}{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set}} (\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} disabled)
\begin{DoxyCompactList}\small\item\em Sets if originating function name logging should be disabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_ga2a33ec4a010f84c00fe6aa0c608bcec2}{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets if originating function name logging should be disabled. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_gaf97260917c1684b899038161d4d50f18}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set}} (\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} abort\+\_\+on\+\_\+critical)
\begin{DoxyCompactList}\small\item\em Sets if critical messages should abort the program. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets if critical messages should abort the program. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set}} (int critical\+\_\+level)
\begin{DoxyCompactList}\small\item\em Sets level that triggers abort if abort-\/on-\/critical is set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get}} (void) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets level that triggers abort if abort-\/on-\/critical is set. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set}} (const char $\ast$domain\+\_\+name, int level) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Sets the domain level given its name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_gaf640116085a7c5245be71ae5e42ba4ca}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get}} (const char $\ast$domain\+\_\+name) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}} \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Gets the domain level given its name. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_ga2376f58bf4035235d4b208145dbbe783}{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get}} (int domain) \mbox{\hyperlink{group__Eina__Types__Group_ga4ba89e4b58eff707a6cf05ffe0cd4dea}{E\+I\+N\+A\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+U\+S\+E\+D\+\_\+\+R\+E\+S\+U\+LT}}
\begin{DoxyCompactList}\small\item\em Gets the domain level given its identifier. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga77efcf44aaed8e968c36f4c92f0d6da4}{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set}} (int domain, int level)
\begin{DoxyCompactList}\small\item\em Sets the domain level given its identifier. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_gaca5019f970a269e25e956a73de60fe4d}\label{group__Eina__Log__Group_gaca5019f970a269e25e956a73de60fe4d}} 
static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+check} (int domain, int level)
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register}} (const char $\ast$name, const char $\ast$color) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga5646cbbdd46053c1f45bcab974f94ee6}{eina\+\_\+log\+\_\+domain\+\_\+unregister}} (int domain)
\begin{DoxyCompactList}\small\item\em Forgets about a logging domain registered by \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register()}} \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print}} (int domain, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$function, int line, const char $\ast$fmt,...) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(3
\begin{DoxyCompactList}\small\item\em Prints out log message using given domain and level. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga383c0a4335bc07d00d6089ce32908d89}\label{group__Eina__Log__Group_ga383c0a4335bc07d00d6089ce32908d89}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void {\bfseries E\+I\+N\+A\+\_\+\+P\+R\+I\+N\+TF} (6, 7) \mbox{\hyperlink{group__Eina__Types__Group_ga6eb1a3925291d82fe83a1bf842890d5b}{E\+I\+N\+A\+\_\+\+N\+O\+I\+N\+S\+T\+R\+U\+M\+E\+NT}}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_gad62f93f8813f8a218e52d8b612b96927}{eina\+\_\+log\+\_\+vprint}} (int domain, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, va\+\_\+list args) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(3
\begin{DoxyCompactList}\small\item\em Prints out log message using given domain and level. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga5b6a7eeec50ebbf7d96610f34138b58c}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout}} (const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$d, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, void $\ast$data, va\+\_\+list args) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Alternative logging method, this will output to standard output stream. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga443e274de6e17385f2f17274d8164ecc}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr}} (const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$d, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, void $\ast$data, va\+\_\+list args) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Default logging method, this will output to standard error stream. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga28b19efcedf4fdd9e057d7544941cdd6}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file}} (const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$d, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, void $\ast$data, va\+\_\+list args) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Alternative logging method, this will output to given file stream. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga81450ee685ad5f2f5f066caee15714c2}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald}} (const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$d, \mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}} level, const char $\ast$file, const char $\ast$fnc, int line, const char $\ast$fmt, void $\ast$data, va\+\_\+list args) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1)
\begin{DoxyCompactList}\small\item\em Alternative logging method, this will output to systemd journal. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_ga8d62710854f95b1685da55e382ee4ce3}{eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set}} (F\+I\+LE $\ast$fp, const char $\ast$color) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1
\begin{DoxyCompactList}\small\item\em Configures console color of given file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Eina__Log__Group_gae4c6830a0e5fccbfcbbc55163d98ef23}{eina\+\_\+log\+\_\+timing}} (int domain, \mbox{\hyperlink{group__Eina__Log__Group_gadfcd7fc51aaa188de388a7f4c6164d83}{Eina\+\_\+\+Log\+\_\+\+State}} state, const char $\ast$phase) \mbox{\hyperlink{group__Eina__Types__Group_ga1a066aa3069f7e43279021cc1e378fac}{E\+I\+N\+A\+\_\+\+A\+R\+G\+\_\+\+N\+O\+N\+N\+U\+LL}}(1
\begin{DoxyCompactList}\small\item\em Starts or stops the timing of a phase. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}\label{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL}}
\begin{DoxyCompactList}\small\item\em E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL is the general purpose log domain to be used, it is always registered and available everywhere. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Log__Group_ga47f724c3a9f700d57d20d964d85a7a98}\label{group__Eina__Log__Group_ga47f724c3a9f700d57d20d964d85a7a98}} 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void {\bfseries E\+I\+N\+A\+\_\+\+N\+O\+I\+N\+S\+T\+R\+U\+M\+E\+NT}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eina__Log__Group_gac6cb4966743a888defdb33610b4235aa}{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init}}
\begin{DoxyCompactList}\small\item\em String that indicates the log system is initializing. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eina__Log__Group_gabac7f0e5825da708e73faa9123f41fc6}{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}}
\begin{DoxyCompactList}\small\item\em String that indicates the log system is shutting down. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Full-\/featured logging system. 

Eina provides \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}}, a standard function to manage all logging messages. This function may be called directly or using the helper macros such as \mbox{\hyperlink{group__Eina__Log__Group_ga09b88349373c2158f988d72375af5849}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+B\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R()}} or those that take a specific domain as argument \mbox{\hyperlink{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+D\+B\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+E\+R\+R()}}. Internally, \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} will call the function defined with \mbox{\hyperlink{group__Eina__Log__Group_ga50184735e08f530d4139c28fcdb02fbb}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set()}}, that defaults to \mbox{\hyperlink{group__Eina__Log__Group_ga443e274de6e17385f2f17274d8164ecc}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr()}}, but may be changed to do whatever you need, such as networking or syslog logging.

The logging system is thread safe once initialized with \mbox{\hyperlink{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}{eina\+\_\+log\+\_\+threads\+\_\+enable()}}. The thread that calls this function first is considered \char`\"{}main thread\char`\"{} and other threads will have their thread id (pthread\+\_\+self()) printed in the log message so it is easy to detect from where it is coming.

Log domains is the Eina way to differentiate messages. There might be different domains to represent different modules, different feature-\/set, different categories and so on. Filtering can be applied to domain names by means of {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS} environment variable or \mbox{\hyperlink{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set()}}.

The different logging levels serve to customize the amount of debugging one want to take and may be used to automatically call abort() once some given level message is printed. This is controlled by environment variable {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+A\+B\+O\+RT} and the level to be considered critical with {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+A\+B\+O\+R\+T\+\_\+\+L\+E\+V\+EL}. These can be changed with \mbox{\hyperlink{group__Eina__Log__Group_gaf97260917c1684b899038161d4d50f18}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set()}} and \mbox{\hyperlink{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set()}}.

The default maximum level to print is defined by environment variable {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}, but may be set per-\/domain with {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS}. It will default to \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+RR}}. This can be changed with \mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set()}}.

To use the log system Eina must be initialized with \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}} and later shut down with \mbox{\hyperlink{group__Eina__Main__Group_ga6741fcaba116e31e96ce14dcfa03f568}{eina\+\_\+shutdown()}}. Here is a straightforward example\+:


\begin{DoxyCodeInclude}
\textcolor{comment}{//Compile with:}
\textcolor{comment}{//gcc -Wall -o eina\_log\_01 eina\_log\_01.c `pkg-config --cflags --libs eina`}

\textcolor{preprocessor}{#include <stdlib.h>}
\textcolor{preprocessor}{#include <stdio.h>}

\textcolor{preprocessor}{#include <\mbox{\hyperlink{Eina_8h}{Eina.h}}>}

\textcolor{keywordtype}{void} test\_warn(\textcolor{keywordtype}{void})
\{
   \mbox{\hyperlink{group__Eina__Log__Group_ga21c44f66537533db16ee8f475ae2ae70}{EINA\_LOG\_WARN}}(\textcolor{stringliteral}{"Here is a warning message"});
\}

\textcolor{keywordtype}{int} main(\textcolor{keywordtype}{void})
\{
   \textcolor{keywordflow}{if} (!\mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\_init}}())
     \{
        printf(\textcolor{stringliteral}{"log during the initialization of Eina\_Log module\(\backslash\)n"});
        \textcolor{keywordflow}{return} EXIT\_FAILURE;
     \}

   \mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\_log\_level\_set}}(\mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}{EINA\_LOG\_LEVEL\_WARN}});

   test\_warn();

   \mbox{\hyperlink{group__Eina__Main__Group_ga6741fcaba116e31e96ce14dcfa03f568}{eina\_shutdown}}();

   \textcolor{keywordflow}{return} EXIT\_SUCCESS;
\}
\end{DoxyCodeInclude}


Compile this code with the following command\+:

\begin{DoxyVerb}gcc -Wall -o eina_log_01 eina_log_01.c `pkg-config --cflags --libs eina`\end{DoxyVerb}


Now execute the program with\+:

\begin{DoxyVerb}EINA_LOG_LEVEL=2 ./eina_log_01\end{DoxyVerb}


You should see a message displayed in the terminal.

For more information, you can look at the \mbox{\hyperlink{tutorial_log_page}{Log Tutorial}}. 

\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}\label{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}} 
\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}}
\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}!Log@{Log}}
\subsubsection{\texorpdfstring{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT}{EINA\_LOG\_DOMAIN\_DEFAULT}}
{\footnotesize\ttfamily \#define E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+D\+E\+F\+A\+U\+LT~\mbox{\hyperlink{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL}}}



This macro defines the domain to use with the macros \mbox{\hyperlink{group__Eina__Log__Group_ga4423c9d7bdc95555cf045b66e21e1f5c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+D\+B\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga782f84a4805166d2707cb4d59217c64e}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+I\+N\+F\+O()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga5073ce1fbcc1f6ea8d0670aac2ecce70}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+W\+A\+R\+N()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga698d954a5fc2d120a553277361d68047}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+E\+R\+R()}} and \mbox{\hyperlink{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+C\+R\+I\+T()}}. 

If not defined prior to the inclusion of this header, then it defaults to \mbox{\hyperlink{group__Eina__Log__Group_gaf22afd672720858d1df3a8c6a2abe21a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL}}.

\begin{DoxyNote}{Note}
One may like to redefine this in its code to avoid typing too much. In this case the recommended way is\+:
\end{DoxyNote}

\begin{DoxyCode}
\textcolor{preprocessor}{#include <\mbox{\hyperlink{Eina_8h}{Eina.h}}>}
\textcolor{preprocessor}{#undef EINA\_LOG\_DOMAIN\_DEFAULT}
\textcolor{preprocessor}{#define EINA\_LOG\_DOMAIN\_DEFAULT \_log\_dom}
\textcolor{keyword}{static} \textcolor{keywordtype}{int} \_log\_dom = -1;

\textcolor{keywordtype}{int} main(\textcolor{keywordtype}{void})
\{
   \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\_init}}();
   \_log\_dom = \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\_log\_domain\_register}}(\textcolor{stringliteral}{"mydom"}, EINA\_COLOR\_CYAN);
   \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\_LOG\_ERR}}(\textcolor{stringliteral}{"using my own domain"});
   \textcolor{keywordflow}{return} 0;
\}
\end{DoxyCode}


\begin{DoxyWarning}{Warning}
If one defines the domain prior to inclusion of this header, the defined log domain symbol must be defined prior as well, otherwise the inlined functions defined by Eina will fail to find the symbol, causing build failure.
\end{DoxyWarning}

\begin{DoxyCode}
\textcolor{preprocessor}{#define EINA\_LOG\_DOMAIN\_DEFAULT \_log\_dom}
\textcolor{keyword}{static} \textcolor{keywordtype}{int} \_log\_dom = -1; \textcolor{comment}{// must come before inclusion of Eina.h!}
\textcolor{preprocessor}{#include <\mbox{\hyperlink{Eina_8h}{Eina.h}}>}

\textcolor{keywordtype}{int} main(\textcolor{keywordtype}{void})
\{
   \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\_init}}();
   \_log\_dom = \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\_log\_domain\_register}}(\textcolor{stringliteral}{"mydom"}, EINA\_COLOR\_CYAN);
   \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\_LOG\_ERR}}(\textcolor{stringliteral}{"using my own domain"});
   \textcolor{keywordflow}{return} 0;
\}
\end{DoxyCode}
 \mbox{\Hypertarget{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}\label{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}} 
\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+OG@{E\+I\+N\+A\+\_\+\+L\+OG}}
\index{E\+I\+N\+A\+\_\+\+L\+OG@{E\+I\+N\+A\+\_\+\+L\+OG}!Log@{Log}}
\subsubsection{\texorpdfstring{E\+I\+N\+A\+\_\+\+L\+OG}{EINA\_LOG}}
{\footnotesize\ttfamily \#define E\+I\+N\+A\+\_\+\+L\+OG(\begin{DoxyParamCaption}\item[{}]{D\+OM,  }\item[{}]{L\+E\+V\+EL,  }\item[{}]{fmt,  }\item[{}]{... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
\mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\_log\_print}}(DOM,                   \(\backslash\)
                 LEVEL,                 \(\backslash\)
                 \_\_FILE\_\_,              \(\backslash\)
                 \_\_FUNCTION\_\_,          \(\backslash\)
                 \_\_LINE\_\_,              \(\backslash\)
                 fmt,                   \(\backslash\)
                 ## \_\_VA\_ARGS\_\_)
\end{DoxyCode}


Logs a message on the specified domain, level and format. 

\begin{DoxyNote}{Note}
If {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+M\+A\+X\+I\+M\+UM} is defined, then messages larger than this value will be ignored regardless of current domain level, the \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} is not even called! Most compilers will just detect the two integers make the branch impossible and remove the branch and function call all together. Take this as optimization tip and possible remove debug messages from binaries to be deployed, saving on hot paths. Never define {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+M\+A\+X\+I\+M\+UM} on public header files. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}\label{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}} 
\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT}}
\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT}!Log@{Log}}
\subsubsection{\texorpdfstring{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT}{EINA\_LOG\_CRIT}}
{\footnotesize\ttfamily \#define E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+IT(\begin{DoxyParamCaption}\item[{}]{fmt,  }\item[{}]{... }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
\mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{EINA\_LOG}}(\mbox{\hyperlink{group__Eina__Log__Group_ga41d6e3b51ce5f50ef403428776a02626}{EINA\_LOG\_DOMAIN\_DEFAULT}}, \(\backslash\)
           \mbox{\hyperlink{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa620ee82716c2c262ad2929823cf24ebd}{EINA\_LOG\_LEVEL\_CRITICAL}}, \(\backslash\)
           fmt,                     \(\backslash\)
           ## \_\_VA\_ARGS\_\_)
\end{DoxyCode}


Logs a message with level C\+R\+I\+T\+I\+C\+AL on the default domain with the specified format. 



\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{group__Eina__Log__Group_ga326699509b2e7578ace7c0a15b4a8c1a}\label{group__Eina__Log__Group_ga326699509b2e7578ace7c0a15b4a8c1a}} 
\index{Log@{Log}!\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level@{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}}
\index{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level@{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}!Log@{Log}}
\subsubsection{\texorpdfstring{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}{\_Eina\_Log\_Level}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{group__Eina__Log__Group_ga326699509b2e7578ace7c0a15b4a8c1a}{\+\_\+\+Eina\+\_\+\+Log\+\_\+\+Level}}}



List of available logging levels. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa620ee82716c2c262ad2929823cf24ebd}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa620ee82716c2c262ad2929823cf24ebd}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+C\+R\+I\+T\+I\+C\+AL&Critical log level. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa8252243003214c2e38a3b228fc85eb80}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa8252243003214c2e38a3b228fc85eb80}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+RR&Error log level. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aae6fda047b87c6d22a23cbb7143dd2fe8}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+RN&Warning log level. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa0368139789af856a6ad9bbe4f21d195f}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa0368139789af856a6ad9bbe4f21d195f}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO&Information log level. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aafdc5a5cfb78f5e4d5851447ed798af50}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aafdc5a5cfb78f5e4d5851447ed798af50}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+BG&Debug log level. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa880f2906e9b871ce8f590316d2f60652}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aa880f2906e9b871ce8f590316d2f60652}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS&Count of default log levels. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN}!Log@{Log}}\index{Log@{Log}!E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN@{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN}}}\mbox{\Hypertarget{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aaa3ab2a3e3ae9d08a60e939d56198bb96}\label{group__Eina__Log__Group_gga326699509b2e7578ace7c0a15b4a8c1aaa3ab2a3e3ae9d08a60e939d56198bb96}} 
E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN&Unknown level. \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}\label{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+threads\+\_\+enable@{eina\+\_\+log\+\_\+threads\+\_\+enable}}
\index{eina\+\_\+log\+\_\+threads\+\_\+enable@{eina\+\_\+log\+\_\+threads\+\_\+enable}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+threads\+\_\+enable()}{eina\_log\_threads\_enable()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+threads\+\_\+enable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Enable logging module to handle threads. 

There is no disable option on purpose, if it is enabled, there is no way back until you call the last \mbox{\hyperlink{group__Eina__Main__Group_ga6741fcaba116e31e96ce14dcfa03f568}{eina\+\_\+shutdown()}}.

There is no function to retrieve if threads are enabled as one is not supposed to know this from outside.

After this call is executed at least once, if Eina was compiled with threads support then logging will lock around debug messages and threads that are not the main thread will have its identifier printed.

The main thread is considered the thread where the first \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}} was called. 

References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eina__Log__Group_ga50184735e08f530d4139c28fcdb02fbb}\label{group__Eina__Log__Group_ga50184735e08f530d4139c28fcdb02fbb}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set}}
\index{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set()}{eina\_log\_print\_cb\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga76501a2d10e374980c4012664e4ca96f}{Eina\+\_\+\+Log\+\_\+\+Print\+\_\+\+Cb}}}]{cb,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Sets logging method to use. 


\begin{DoxyParams}{Parameters}
{\em cb} & The callback to call when printing a log. \\
\hline
{\em data} & The data to pass to the callback.\\
\hline
\end{DoxyParams}
By default, \mbox{\hyperlink{group__Eina__Log__Group_ga443e274de6e17385f2f17274d8164ecc}{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr()}} is used.

\begin{DoxyNote}{Note}
MT\+: Safe to call from any thread.

MT\+: Given function {\itshape cb} will be called protected by mutex. This means you\textquotesingle{}re safe from other calls but you should never call \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}}, directly or indirectly. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}\label{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+level\+\_\+set}}
\index{eina\+\_\+log\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+level\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+level\+\_\+set()}{eina\_log\_level\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+level\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{level }\end{DoxyParamCaption})}



Sets the default log level. 


\begin{DoxyParams}{Parameters}
{\em level} & The log level.\\
\hline
\end{DoxyParams}
This function sets the log level {\ttfamily level}. It is used in \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}}.

\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gaf825e9e4c1efa7c2b4155e3863b06408}{eina\+\_\+log\+\_\+level\+\_\+get()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+L\+I\+K\+E\+LY, E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL, and \+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain\+::level.

\mbox{\Hypertarget{group__Eina__Log__Group_gaf825e9e4c1efa7c2b4155e3863b06408}\label{group__Eina__Log__Group_gaf825e9e4c1efa7c2b4155e3863b06408}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+level\+\_\+get}}
\index{eina\+\_\+log\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+level\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+level\+\_\+get()}{eina\_log\_level\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int eina\+\_\+log\+\_\+level\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets the default log level. 

\begin{DoxyReturn}{Returns}
The log level that limits \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}}.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga6506707f51c09f5876cf8b4cf47e7e26}\label{group__Eina__Log__Group_ga6506707f51c09f5876cf8b4cf47e7e26}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+level\+\_\+check@{eina\+\_\+log\+\_\+level\+\_\+check}}
\index{eina\+\_\+log\+\_\+level\+\_\+check@{eina\+\_\+log\+\_\+level\+\_\+check}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+level\+\_\+check()}{eina\_log\_level\_check()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+level\+\_\+check (\begin{DoxyParamCaption}\item[{int}]{level }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Determines if a given {\ttfamily level} should be logged. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} if the {\ttfamily level} should be logged, else \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}}.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga3441a26eba4e2f1c504436d57d099eb1}\label{group__Eina__Log__Group_ga3441a26eba4e2f1c504436d57d099eb1}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check@{eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check}}
\index{eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check@{eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check()}{eina\_log\_main\_thread\_check()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+main\+\_\+thread\+\_\+check (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Checks if current thread is the main thread. 

If there is no thread support (compiled with --disable-\/pthreads) or threads were not enabled, then \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} is returned. The only case where \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} is returned is when threads were successfully enabled but the current thread is not the one that called eina\+\_\+log\+\_\+threads\+\_\+init() (the main thread).

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} if the current thread is the one that called eina\+\_\+log\+\_\+threads\+\_\+init(), otherwise \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}}. 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eina__Log__Group_ga4da16869de2aa4aacbefe403c5023ec2}\label{group__Eina__Log__Group_ga4da16869de2aa4aacbefe403c5023ec2}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set}}
\index{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set()}{eina\_log\_color\_disable\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{disabled }\end{DoxyParamCaption})}



Enables or disables colored text in the logs. 


\begin{DoxyParams}{Parameters}
{\em disabled} & If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, color logging should be disabled.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+O\+L\+O\+R\+\_\+\+D\+I\+S\+A\+B\+LE by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gae49c947e0b48d26a5662de6c50ef9b6d}{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get()}} 
\end{DoxySeeAlso}


References \+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain\+::color, \+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain\+::domain\+\_\+str, and \+\_\+\+Eina\+\_\+\+Log\+\_\+\+Domain\+::name.

\mbox{\Hypertarget{group__Eina__Log__Group_gae49c947e0b48d26a5662de6c50ef9b6d}\label{group__Eina__Log__Group_gae49c947e0b48d26a5662de6c50ef9b6d}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get}}
\index{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get()}{eina\_log\_color\_disable\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Determines if color logging is enabled or disabled. 

\begin{DoxyReturn}{Returns}
If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, color logging is disabled.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga4da16869de2aa4aacbefe403c5023ec2}{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eina__Log__Group_ga02aa56a48250b5ebd4770f0d8e2b1236}\label{group__Eina__Log__Group_ga02aa56a48250b5ebd4770f0d8e2b1236}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set}}
\index{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set()}{eina\_log\_file\_disable\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{disabled }\end{DoxyParamCaption})}



Sets if originating file name logging should be disabled. 


\begin{DoxyParams}{Parameters}
{\em disabled} & If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, file name logging should be disabled.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+I\+L\+E\+\_\+\+D\+I\+S\+A\+B\+LE by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gad395079cbae5837f5a9032e7ee0d0c61}{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_gad395079cbae5837f5a9032e7ee0d0c61}\label{group__Eina__Log__Group_gad395079cbae5837f5a9032e7ee0d0c61}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get}}
\index{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get()}{eina\_log\_file\_disable\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets if originating file name logging should be disabled. 

\begin{DoxyReturn}{Returns}
If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, file name logging should be disabled.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga02aa56a48250b5ebd4770f0d8e2b1236}{eina\+\_\+log\+\_\+file\+\_\+disable\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eina__Log__Group_gadb6bfb1070dc360d22d828b98cdae31c}\label{group__Eina__Log__Group_gadb6bfb1070dc360d22d828b98cdae31c}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set}}
\index{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set@{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set()}{eina\_log\_function\_disable\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{disabled }\end{DoxyParamCaption})}



Sets if originating function name logging should be disabled. 


\begin{DoxyParams}{Parameters}
{\em disabled} & If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, function name logging should be disabled.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga2a33ec4a010f84c00fe6aa0c608bcec2}{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga2a33ec4a010f84c00fe6aa0c608bcec2}\label{group__Eina__Log__Group_ga2a33ec4a010f84c00fe6aa0c608bcec2}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get}}
\index{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get@{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get()}{eina\_log\_function\_disable\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets if originating function name logging should be disabled. 

\begin{DoxyReturn}{Returns}
If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, function name logging should be disabled.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gadb6bfb1070dc360d22d828b98cdae31c}{eina\+\_\+log\+\_\+function\+\_\+disable\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eina__Log__Group_gaf97260917c1684b899038161d4d50f18}\label{group__Eina__Log__Group_gaf97260917c1684b899038161d4d50f18}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set}}
\index{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set()}{eina\_log\_abort\_on\_critical\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{abort\+\_\+on\+\_\+critical }\end{DoxyParamCaption})}



Sets if critical messages should abort the program. 


\begin{DoxyParams}{Parameters}
{\em abort\+\_\+on\+\_\+critical} & If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, messages with level equal or smaller than \mbox{\hyperlink{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get()}} will abort the program.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+A\+B\+O\+RT by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set()}} 
\end{DoxySeeAlso}


Referenced by ecore\+\_\+buffer\+\_\+queue\+\_\+init().

\mbox{\Hypertarget{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}\label{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get}}
\index{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}{eina\_log\_abort\_on\_critical\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets if critical messages should abort the program. 

\begin{DoxyReturn}{Returns}
If \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}, any messages with level equal or smaller than \mbox{\hyperlink{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get()}} will abort the program.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gaf97260917c1684b899038161d4d50f18}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set()}} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\mbox{\Hypertarget{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}\label{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set}}
\index{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set()}{eina\_log\_abort\_on\_critical\_level\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{critical\+\_\+level }\end{DoxyParamCaption})}



Sets level that triggers abort if abort-\/on-\/critical is set. 


\begin{DoxyParams}{Parameters}
{\em critical\+\_\+level} & Levels equal or smaller than the given value will trigger program abortion if \mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}} returns \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
this is initially set to envvar E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+A\+B\+O\+R\+T\+\_\+\+L\+E\+V\+EL by \mbox{\hyperlink{group__Eina__Main__Group_gabf448ada5bc81a07342b66c6f818ee5e}{eina\+\_\+init()}}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get()}} 

\mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}} 
\end{DoxySeeAlso}


Referenced by ecore\+\_\+buffer\+\_\+queue\+\_\+init().

\mbox{\Hypertarget{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}\label{group__Eina__Log__Group_gaa64e72e63b215b4ff146d0e5381c2212}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get}}
\index{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get()}{eina\_log\_abort\_on\_critical\_level\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Gets level that triggers abort if abort-\/on-\/critical is set. 

\begin{DoxyReturn}{Returns}
Critical level equal or smaller than value will trigger program abortion if \mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}} returns \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}}.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_gabaddfc5c340fe0faeb233787bc809547}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+level\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Log__Group_ga28e1d20c961bdaf5f28252f2b25019e4}{eina\+\_\+log\+\_\+abort\+\_\+on\+\_\+critical\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}\label{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set}}
\index{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set()}{eina\_log\_domain\_level\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{domain\+\_\+name,  }\item[{int}]{level }\end{DoxyParamCaption})}



Sets the domain level given its name. 

This call has the same effect as setting E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS=$<${\ttfamily domain\+\_\+name$>$}\+:$<${\ttfamily level$>$} 


\begin{DoxyParams}{Parameters}
{\em domain\+\_\+name} & Domain name to change the level. It may be of a still not registered domain. If the domain is not registered yet, it will be saved as a pending set and applied upon registration. \\
\hline
{\em level} & Level to use to limit \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} for given domain. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Eina__Log__Group_gaf640116085a7c5245be71ae5e42ba4ca}\label{group__Eina__Log__Group_gaf640116085a7c5245be71ae5e42ba4ca}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get}}
\index{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get()}{eina\_log\_domain\_level\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{domain\+\_\+name }\end{DoxyParamCaption})}



Gets the domain level given its name. 


\begin{DoxyParams}{Parameters}
{\em domain\+\_\+name} & Domain name to retrieve the level. It may be of a still not registered domain. If the domain is not registered yet, but there is a pending value, either from \mbox{\hyperlink{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set()}},E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS environment variable or from E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+S\+\_\+\+G\+L\+OB, these are returned. If nothing else was found, then the global/default level (\mbox{\hyperlink{group__Eina__Log__Group_gaf825e9e4c1efa7c2b4155e3863b06408}{eina\+\_\+log\+\_\+level\+\_\+get()}}) is returned.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Level to use to limit \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} for given domain. On error ({\ttfamily domain\+\_\+name} == N\+U\+LL), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+N\+K\+N\+O\+WN is returned.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga1a33cac53a9e3af21bd06d4e5bee3fe2}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+set()}} 

\mbox{\hyperlink{group__Eina__Log__Group_ga2376f58bf4035235d4b208145dbbe783}{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga2376f58bf4035235d4b208145dbbe783}\label{group__Eina__Log__Group_ga2376f58bf4035235d4b208145dbbe783}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get}}
\index{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get@{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get()}{eina\_log\_domain\_registered\_level\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+get (\begin{DoxyParamCaption}\item[{int}]{domain }\end{DoxyParamCaption})}



Gets the domain level given its identifier. 


\begin{DoxyParams}{Parameters}
{\em domain} & Identifier, so it must be previously registered with \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register()}}. It\textquotesingle{}s a much faster version of \mbox{\hyperlink{group__Eina__Log__Group_gaf640116085a7c5245be71ae5e42ba4ca}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get()}}, but relies on domain being present.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{E\+I\+N\+A\+\_\+\+T\+R\+UE}} if level should be printed, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}} if not. (domain\textquotesingle{}s level is greater or equal {\itshape level}). 
\end{DoxyReturn}


Referenced by efl\+::eina\+::\+\_\+domain\+\_\+base$<$ log\+\_\+domain $>$\+::get\+\_\+level().

\mbox{\Hypertarget{group__Eina__Log__Group_ga77efcf44aaed8e968c36f4c92f0d6da4}\label{group__Eina__Log__Group_ga77efcf44aaed8e968c36f4c92f0d6da4}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set}}
\index{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set@{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set()}{eina\_log\_domain\_registered\_level\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+domain\+\_\+registered\+\_\+level\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{domain,  }\item[{int}]{level }\end{DoxyParamCaption})}



Sets the domain level given its identifier. 


\begin{DoxyParams}{Parameters}
{\em domain} & Identifier, so it must be previously registered with \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register()}}. It\textquotesingle{}s a much faster version of \mbox{\hyperlink{group__Eina__Log__Group_gaf640116085a7c5245be71ae5e42ba4ca}{eina\+\_\+log\+\_\+domain\+\_\+level\+\_\+get()}}, but relies on domain being present. \\
\hline
{\em level} & Level to use to limit \mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} for given domain. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


Referenced by efl\+::eina\+::\+\_\+domain\+\_\+base$<$ log\+\_\+domain $>$\+::set\+\_\+level().

\mbox{\Hypertarget{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}\label{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+register@{eina\+\_\+log\+\_\+domain\+\_\+register}}
\index{eina\+\_\+log\+\_\+domain\+\_\+register@{eina\+\_\+log\+\_\+domain\+\_\+register}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+register()}{eina\_log\_domain\_register()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int eina\+\_\+log\+\_\+domain\+\_\+register (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name,  }\item[{const char $\ast$}]{color }\end{DoxyParamCaption})}


\begin{DoxyParams}{Parameters}
{\em name} & Domain name \\
\hline
{\em color} & Color of the domain name\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Domain index that will be used as the D\+O\+M\+A\+IN parameter on log macros. A negative return value means an log occurred.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
MT\+: Safe to call from any thread. 
\end{DoxyNote}


Referenced by ecore\+\_\+audio\+\_\+init(), ecore\+\_\+buffer\+\_\+init(), ecore\+\_\+buffer\+\_\+queue\+\_\+init(), ecore\+\_\+con\+\_\+init(), ecore\+\_\+drm2\+\_\+init(), ecore\+\_\+drm\+\_\+init(), ecore\+\_\+evas\+\_\+init(), ecore\+\_\+event\+\_\+init(), ecore\+\_\+file\+\_\+init(), ecore\+\_\+imf\+\_\+init(), ecore\+\_\+init(), ecore\+\_\+ipc\+\_\+init(), ecore\+\_\+psl1ght\+\_\+init(), ecore\+\_\+sdl\+\_\+init(), ecore\+\_\+win32\+\_\+init(), ecore\+\_\+wl2\+\_\+init(), ecore\+\_\+wl\+\_\+init(), ector\+\_\+init(), edje\+\_\+init(), eet\+\_\+init(), eeze\+\_\+init(), efl\+\_\+object\+\_\+init(), efreet\+\_\+mime\+\_\+init(), efreet\+\_\+trash\+\_\+init(), eina\+\_\+init(), eina\+\_\+mmap\+\_\+safety\+\_\+enabled\+\_\+set(), eio\+\_\+init(), eldbus\+\_\+init(), elm\+\_\+quicklaunch\+\_\+init(), elocation\+\_\+init(), elput\+\_\+init(), elua\+\_\+init(), embryo\+\_\+init(), emile\+\_\+init(), and evas\+\_\+init().

\mbox{\Hypertarget{group__Eina__Log__Group_ga5646cbbdd46053c1f45bcab974f94ee6}\label{group__Eina__Log__Group_ga5646cbbdd46053c1f45bcab974f94ee6}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+domain\+\_\+unregister@{eina\+\_\+log\+\_\+domain\+\_\+unregister}}
\index{eina\+\_\+log\+\_\+domain\+\_\+unregister@{eina\+\_\+log\+\_\+domain\+\_\+unregister}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+domain\+\_\+unregister()}{eina\_log\_domain\_unregister()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+domain\+\_\+unregister (\begin{DoxyParamCaption}\item[{int}]{domain }\end{DoxyParamCaption})}



Forgets about a logging domain registered by \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register()}} 


\begin{DoxyParams}{Parameters}
{\em domain} & Domain identifier as reported by \mbox{\hyperlink{group__Eina__Log__Group_ga180f23bcbefbc0588f2f0c7a95bc0319}{eina\+\_\+log\+\_\+domain\+\_\+register()}}, must be $>$= 0.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
MT\+: Safe to call from any thread. 
\end{DoxyNote}


Referenced by ecore\+\_\+buffer\+\_\+init(), ecore\+\_\+buffer\+\_\+queue\+\_\+init(), ecore\+\_\+buffer\+\_\+queue\+\_\+shutdown(), ecore\+\_\+buffer\+\_\+shutdown(), ecore\+\_\+file\+\_\+shutdown(), ecore\+\_\+ipc\+\_\+init(), ecore\+\_\+psl1ght\+\_\+init(), ecore\+\_\+psl1ght\+\_\+shutdown(), ecore\+\_\+win32\+\_\+init(), ecore\+\_\+win32\+\_\+shutdown(), ecore\+\_\+x\+\_\+init(), eeze\+\_\+init(), eeze\+\_\+shutdown(), efreet\+\_\+mime\+\_\+init(), efreet\+\_\+mime\+\_\+shutdown(), efreet\+\_\+trash\+\_\+shutdown(), eldbus\+\_\+init(), elocation\+\_\+shutdown(), emotion\+\_\+shutdown(), ethumb\+\_\+client\+\_\+shutdown(), and efl\+::eina\+::log\+\_\+domain\+::$\sim$log\+\_\+domain().

\mbox{\Hypertarget{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}\label{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print@{eina\+\_\+log\+\_\+print}}
\index{eina\+\_\+log\+\_\+print@{eina\+\_\+log\+\_\+print}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print()}{eina\_log\_print()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print (\begin{DoxyParamCaption}\item[{int}]{domain,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{function,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{}]{... }\end{DoxyParamCaption})}



Prints out log message using given domain and level. 

\begin{DoxyNote}{Note}
Usually you\textquotesingle{}ll not use this function directly but the helper macros \mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+O\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+C\+R\+I\+T()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+I\+T()}} and so on. See eina\+\_\+log.\+h
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em domain} & Logging domain to use or {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL} if you registered none. It is recommended that modules and applications have their own logging domain. \\
\hline
{\em level} & Message level, those with level greater than user specified value (\mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set()}} or environment variables E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL, E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS) will be ignored. \\
\hline
{\em file} & Filename that originated the call, must {\bfseries not} be {\ttfamily N\+U\+LL}. \\
\hline
{\em function} & Function that originated the call, must {\bfseries not} be {\ttfamily N\+U\+LL}. \\
\hline
{\em line} & Originating line in {\itshape file}. \\
\hline
{\em fmt} & Printf-\/like format to use. Should not provide trailing \textquotesingle{}~\newline
\textquotesingle{} as it is automatically included. \\
\hline
{\em ...} & Variadic args.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
MT\+: This function may be called from different threads if \mbox{\hyperlink{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}{eina\+\_\+log\+\_\+threads\+\_\+enable()}} was called before. 
\end{DoxyNote}


Referenced by eina\+\_\+magic\+\_\+fail().

\mbox{\Hypertarget{group__Eina__Log__Group_gad62f93f8813f8a218e52d8b612b96927}\label{group__Eina__Log__Group_gad62f93f8813f8a218e52d8b612b96927}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+vprint@{eina\+\_\+log\+\_\+vprint}}
\index{eina\+\_\+log\+\_\+vprint@{eina\+\_\+log\+\_\+vprint}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+vprint()}{eina\_log\_vprint()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+vprint (\begin{DoxyParamCaption}\item[{int}]{domain,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{fnc,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})}



Prints out log message using given domain and level. 

\begin{DoxyNote}{Note}
Usually you\textquotesingle{}ll not use this function directly but the helper macros \mbox{\hyperlink{group__Eina__Log__Group_ga00e2a10370282673064d2bd3579b463c}{E\+I\+N\+A\+\_\+\+L\+O\+G()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga50e2b86707c08c89e49759cb31b7b91c}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+\_\+\+C\+R\+I\+T()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}{E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+R\+I\+T()}} and so on. See eina\+\_\+log.\+h
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em domain} & Logging domain to use or {\ttfamily E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+D\+O\+M\+A\+I\+N\+\_\+\+G\+L\+O\+B\+AL} if you registered none. It is recommended that modules and applications have their own logging domain. \\
\hline
{\em level} & Message level, those with level greater than user specified value (\mbox{\hyperlink{group__Eina__Log__Group_ga018457ec82c2e428600d1023d4b92749}{eina\+\_\+log\+\_\+level\+\_\+set()}} or environment variables E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL, E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+LS) will be ignored. \\
\hline
{\em file} & Filename that originated the call, must {\bfseries not} be {\ttfamily N\+U\+LL}. \\
\hline
{\em fnc} & Function that originated the call, must {\bfseries not} be {\ttfamily N\+U\+LL}. \\
\hline
{\em line} & Originating line in {\itshape file}. \\
\hline
{\em fmt} & Printf-\/like format to use. Should not provide trailing \textquotesingle{}~\newline
\textquotesingle{} as it is automatically included. \\
\hline
{\em args} & The arguments needed by the format.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
MT\+: this function may be called from different threads if \mbox{\hyperlink{group__Eina__Log__Group_ga3b838bcdf99ef996704261ac4c48820b}{eina\+\_\+log\+\_\+threads\+\_\+enable()}} was called before.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Log__Group_ga4cca81b7002645e5550283f687b903db}{eina\+\_\+log\+\_\+print()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Log__Group_ga5b6a7eeec50ebbf7d96610f34138b58c}\label{group__Eina__Log__Group_ga5b6a7eeec50ebbf7d96610f34138b58c}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout}}
\index{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout()}{eina\_log\_print\_cb\_stdout()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stdout (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$}]{d,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{fnc,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{void $\ast$}]{data,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})}



Alternative logging method, this will output to standard output stream. 


\begin{DoxyParams}{Parameters}
{\em d} & The domain. \\
\hline
{\em level} & The level. \\
\hline
{\em file} & The file which is logged. \\
\hline
{\em fnc} & The function which is logged. \\
\hline
{\em line} & The line which is logged. \\
\hline
{\em fmt} & The ouptut format to use. \\
\hline
{\em data} & Not used. \\
\hline
{\em args} & The arguments needed by the format.\\
\hline
\end{DoxyParams}
This method will colorize output based on domain provided color and message logging level. To disable color, set environment variable E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+O\+L\+O\+R\+\_\+\+D\+I\+S\+A\+B\+LE=1. Similarly, to disable file and line information, set E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+I\+L\+E\+\_\+\+D\+I\+S\+A\+B\+LE=1 or E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE=1 to avoid function name in output. It is not acceptable to have both E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+I\+L\+E\+\_\+\+D\+I\+S\+A\+B\+LE and E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE at the same time, in this case just E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE will be considered and file information will be printed anyways.

\begin{DoxyNote}{Note}
MT\+: If threads are enabled, this function is called within locks. 

MT\+: Threads different from main thread will have thread id appended to domain name. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Eina__Log__Group_ga443e274de6e17385f2f17274d8164ecc}\label{group__Eina__Log__Group_ga443e274de6e17385f2f17274d8164ecc}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr}}
\index{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr()}{eina\_log\_print\_cb\_stderr()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+stderr (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$}]{d,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{fnc,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{void $\ast$}]{data,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})}



Default logging method, this will output to standard error stream. 


\begin{DoxyParams}{Parameters}
{\em d} & The domain. \\
\hline
{\em level} & The level. \\
\hline
{\em file} & The file which is logged. \\
\hline
{\em fnc} & The function which is logged. \\
\hline
{\em line} & The line which is logged. \\
\hline
{\em fmt} & The ouptut format to use. \\
\hline
{\em data} & Not used. \\
\hline
{\em args} & The arguments needed by the format.\\
\hline
\end{DoxyParams}
This method will colorize output based on domain provided color and message logging level.

To disable color, set environment variable E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+O\+L\+O\+R\+\_\+\+D\+I\+S\+A\+B\+LE=1. To enable color, even if directing to a file or when using a non-\/supported color terminal, use E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+O\+L\+O\+R\+\_\+\+D\+I\+S\+A\+B\+LE=0. If E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+C\+O\+L\+O\+R\+\_\+\+D\+I\+S\+A\+B\+LE is unset (or -\/1), then Eina will disable color if terminal (\$\+T\+E\+RM) is unsupported or if redirecting to a file.

. Similarly, to disable file and line information, set E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+I\+L\+E\+\_\+\+D\+I\+S\+A\+B\+LE=1 or E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE=1 to avoid function name in output. It is not acceptable to have both E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+I\+L\+E\+\_\+\+D\+I\+S\+A\+B\+LE and E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE at the same time, in this case just E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+F\+U\+N\+C\+T\+I\+O\+N\+\_\+\+D\+I\+S\+A\+B\+LE will be considered and file information will be printed anyways.

\begin{DoxyNote}{Note}
MT\+: If threads are enabled, this function is called within locks. 

MT\+: Threads different from main thread will have thread id appended to domain name. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Eina__Log__Group_ga28b19efcedf4fdd9e057d7544941cdd6}\label{group__Eina__Log__Group_ga28b19efcedf4fdd9e057d7544941cdd6}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file}}
\index{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file()}{eina\_log\_print\_cb\_file()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+file (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$}]{d,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{fnc,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{void $\ast$}]{data,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})}



Alternative logging method, this will output to given file stream. 


\begin{DoxyParams}{Parameters}
{\em d} & The domain. \\
\hline
{\em level} & Not used. \\
\hline
{\em file} & The file which is logged. \\
\hline
{\em fnc} & The function which is logged. \\
\hline
{\em line} & The line which is logged. \\
\hline
{\em fmt} & The ouptut format to use. \\
\hline
{\em data} & The file which will store the output (as a F\+I\+LE $\ast$). \\
\hline
{\em args} & The arguments needed by the format.\\
\hline
\end{DoxyParams}
This method will never output color.

\begin{DoxyNote}{Note}
MT\+: If threads are enabled, this function is called within locks. 

MT\+: Threads different from main thread will have thread id appended to domain name. 
\end{DoxyNote}
\mbox{\Hypertarget{group__Eina__Log__Group_ga81450ee685ad5f2f5f066caee15714c2}\label{group__Eina__Log__Group_ga81450ee685ad5f2f5f066caee15714c2}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald}}
\index{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald@{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald()}{eina\_log\_print\_cb\_journald()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+print\+\_\+cb\+\_\+journald (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Log__Group_ga3e8bc7f3b9aa9140d1e5b91baf08ebe8}{Eina\+\_\+\+Log\+\_\+\+Domain}} $\ast$}]{d,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_ga5c0cd3a8463b76bb855805b70f58c7dd}{Eina\+\_\+\+Log\+\_\+\+Level}}}]{level,  }\item[{const char $\ast$}]{file,  }\item[{const char $\ast$}]{fnc,  }\item[{int}]{line,  }\item[{const char $\ast$}]{fmt,  }\item[{void $\ast$}]{data,  }\item[{va\+\_\+list}]{args }\end{DoxyParamCaption})}



Alternative logging method, this will output to systemd journal. 


\begin{DoxyParams}{Parameters}
{\em d} & The domain. \\
\hline
{\em level} & Not used. \\
\hline
{\em file} & The file which is logged. \\
\hline
{\em fnc} & The function which is logged. \\
\hline
{\em line} & The line which is logged. \\
\hline
{\em fmt} & The ouptut format to use. \\
\hline
{\em data} & The file which will store the output (as a F\+I\+LE $\ast$). \\
\hline
{\em args} & The arguments needed by the format.\\
\hline
\end{DoxyParams}
This method will never output color.

\begin{DoxyNote}{Note}
If systemd journal is not there it will display error on stderr. 

If the process has been started by systemd this will be the default logging method.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Log__Group_ga8d62710854f95b1685da55e382ee4ce3}\label{group__Eina__Log__Group_ga8d62710854f95b1685da55e382ee4ce3}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set@{eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set}}
\index{eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set@{eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set()}{eina\_log\_console\_color\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+console\+\_\+color\+\_\+set (\begin{DoxyParamCaption}\item[{F\+I\+LE $\ast$}]{fp,  }\item[{const char $\ast$}]{color }\end{DoxyParamCaption})}



Configures console color of given file. 


\begin{DoxyParams}{Parameters}
{\em fp} & File to configure console color (usually stderr or stdout). \\
\hline
{\em color} & A VT color code such as E\+I\+N\+A\+\_\+\+C\+O\+L\+O\+R\+\_\+\+R\+ED or E\+I\+N\+A\+\_\+\+C\+O\+L\+O\+R\+\_\+\+R\+E\+S\+ET.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
If color is disabled, nothing is done. See \mbox{\hyperlink{group__Eina__Log__Group_gae49c947e0b48d26a5662de6c50ef9b6d}{eina\+\_\+log\+\_\+color\+\_\+disable\+\_\+get()}} 

On windows, both {\itshape fp} and {\itshape color} is converted automatically.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}
\mbox{\Hypertarget{group__Eina__Log__Group_gae4c6830a0e5fccbfcbbc55163d98ef23}\label{group__Eina__Log__Group_gae4c6830a0e5fccbfcbbc55163d98ef23}} 
\index{Log@{Log}!eina\+\_\+log\+\_\+timing@{eina\+\_\+log\+\_\+timing}}
\index{eina\+\_\+log\+\_\+timing@{eina\+\_\+log\+\_\+timing}!Log@{Log}}
\subsubsection{\texorpdfstring{eina\+\_\+log\+\_\+timing()}{eina\_log\_timing()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void eina\+\_\+log\+\_\+timing (\begin{DoxyParamCaption}\item[{int}]{domain,  }\item[{\mbox{\hyperlink{group__Eina__Log__Group_gadfcd7fc51aaa188de388a7f4c6164d83}{Eina\+\_\+\+Log\+\_\+\+State}}}]{state,  }\item[{const char $\ast$}]{phase }\end{DoxyParamCaption})}



Starts or stops the timing of a phase. 


\begin{DoxyParams}{Parameters}
{\em domain} & The domain. \\
\hline
{\em state} & State indicating if we are starting or stopping a phase. \\
\hline
{\em phase} & The name of the phase to be used in the log.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
One domain can be in only one phase at a time. 

If you change the name of the phase, it is assumed that the previous phase has stopped. 

The phase name should be available for all the life of the timing. 
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


Referenced by ecore\+\_\+audio\+\_\+init(), ecore\+\_\+audio\+\_\+shutdown(), ecore\+\_\+con\+\_\+init(), ecore\+\_\+con\+\_\+shutdown(), ecore\+\_\+evas\+\_\+init(), ecore\+\_\+evas\+\_\+shutdown(), ecore\+\_\+init(), ecore\+\_\+shutdown(), ector\+\_\+init(), ector\+\_\+shutdown(), edje\+\_\+init(), eet\+\_\+init(), eet\+\_\+shutdown(), efl\+\_\+object\+\_\+init(), efl\+\_\+object\+\_\+shutdown(), eina\+\_\+init(), eina\+\_\+shutdown(), eio\+\_\+init(), eio\+\_\+shutdown(), elm\+\_\+quicklaunch\+\_\+init(), elm\+\_\+quicklaunch\+\_\+shutdown(), elua\+\_\+init(), elua\+\_\+shutdown(), embryo\+\_\+init(), embryo\+\_\+shutdown(), emile\+\_\+init(), emile\+\_\+shutdown(), evas\+\_\+init(), and evas\+\_\+shutdown().



\subsection{Variable Documentation}
\mbox{\Hypertarget{group__Eina__Log__Group_gac6cb4966743a888defdb33610b4235aa}\label{group__Eina__Log__Group_gac6cb4966743a888defdb33610b4235aa}} 
\index{Log@{Log}!\+\_\+eina\+\_\+log\+\_\+state\+\_\+init@{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init}}
\index{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init@{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init}!Log@{Log}}
\subsubsection{\texorpdfstring{\+\_\+eina\+\_\+log\+\_\+state\+\_\+init}{\_eina\_log\_state\_init}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ \+\_\+eina\+\_\+log\+\_\+state\+\_\+init}



String that indicates the log system is initializing. 

\mbox{\Hypertarget{group__Eina__Log__Group_gabac7f0e5825da708e73faa9123f41fc6}\label{group__Eina__Log__Group_gabac7f0e5825da708e73faa9123f41fc6}} 
\index{Log@{Log}!\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown@{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}}
\index{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown@{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}!Log@{Log}}
\subsubsection{\texorpdfstring{\+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}{\_eina\_log\_state\_shutdown}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ \+\_\+eina\+\_\+log\+\_\+state\+\_\+shutdown}



String that indicates the log system is shutting down. 

