\hypertarget{kdblogger_8h}{}\doxysection{kdblogger.\+h File Reference}
\label{kdblogger_8h}\index{kdblogger.h@{kdblogger.h}}


Logger Interface.  


{\ttfamily \#include \char`\"{}kdbconfig.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kdbmacros.\+h\char`\"{}}\newline
Include dependency graph for kdblogger.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=252pt]{kdblogger_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{kdblogger_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4b}{Elektra\+Log\+Level}} \{ \newline
\mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba608972dcd50aa7115a8d07e1f6d392aa}{E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+R\+R\+OR}} = 16, 
\mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba0524fff5c46e0cf07287c473c46cc8e2}{E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+R\+N\+I\+NG}} = 8, 
\mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba329fc1e04c797ab8e54a137b21f41baf}{E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+N\+O\+T\+I\+CE}} = 4, 
\mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba01618746c91d9d1090f599f604b9b832}{E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}} = 2, 
\newline
\mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba24c7a4c44a8b99b978dc99806d083386}{E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+E\+B\+UG}} = 1
 \}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Logger Interface. 

\begin{DoxyCopyright}{Copyright}
B\+SD License (see L\+I\+C\+E\+N\+S\+E.\+md or \href{https://www.libelektra.org}{\texttt{ https\+://www.\+libelektra.\+org}}) 
\end{DoxyCopyright}


\doxysubsection{Enumeration Type Documentation}
\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4b}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4b}} 
\index{kdblogger.h@{kdblogger.h}!ElektraLogLevel@{ElektraLogLevel}}
\index{ElektraLogLevel@{ElektraLogLevel}!kdblogger.h@{kdblogger.h}}
\doxysubsubsection{\texorpdfstring{ElektraLogLevel}{ElektraLogLevel}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4b}{Elektra\+Log\+Level}}}

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ELEKTRA\_LOG\_LEVEL\_ERROR@{ELEKTRA\_LOG\_LEVEL\_ERROR}!kdblogger.h@{kdblogger.h}}\index{kdblogger.h@{kdblogger.h}!ELEKTRA\_LOG\_LEVEL\_ERROR@{ELEKTRA\_LOG\_LEVEL\_ERROR}}}\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba608972dcd50aa7115a8d07e1f6d392aa}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba608972dcd50aa7115a8d07e1f6d392aa}} 
E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+E\+R\+R\+OR&assertion failed, will abort Should only be used by E\+L\+E\+K\+T\+R\+A\+\_\+\+A\+S\+S\+E\+RT, not by other code! \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELEKTRA\_LOG\_LEVEL\_WARNING@{ELEKTRA\_LOG\_LEVEL\_WARNING}!kdblogger.h@{kdblogger.h}}\index{kdblogger.h@{kdblogger.h}!ELEKTRA\_LOG\_LEVEL\_WARNING@{ELEKTRA\_LOG\_LEVEL\_WARNING}}}\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba0524fff5c46e0cf07287c473c46cc8e2}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba0524fff5c46e0cf07287c473c46cc8e2}} 
E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+W\+A\+R\+N\+I\+NG&something happened an end user would be interested in The action requested by the user failed in an unusual way, e.\+g. no memory.

This level is especially for A\+PI misuse, something we want to report the user but otherwise could not (e.\+g. because we are not in kdb$\ast$ context and cannot yield warnings/errors). \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELEKTRA\_LOG\_LEVEL\_NOTICE@{ELEKTRA\_LOG\_LEVEL\_NOTICE}!kdblogger.h@{kdblogger.h}}\index{kdblogger.h@{kdblogger.h}!ELEKTRA\_LOG\_LEVEL\_NOTICE@{ELEKTRA\_LOG\_LEVEL\_NOTICE}}}\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba329fc1e04c797ab8e54a137b21f41baf}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba329fc1e04c797ab8e54a137b21f41baf}} 
E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+N\+O\+T\+I\+CE&something important happened which usually should not Despite its name this level can be used for errors, failed activities and so on, if other plugins or similar might recover the error, the action will be retried, and/or the user will not notice or notice by warnings/errors/return value anyway. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELEKTRA\_LOG\_LEVEL\_INFO@{ELEKTRA\_LOG\_LEVEL\_INFO}!kdblogger.h@{kdblogger.h}}\index{kdblogger.h@{kdblogger.h}!ELEKTRA\_LOG\_LEVEL\_INFO@{ELEKTRA\_LOG\_LEVEL\_INFO}}}\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba01618746c91d9d1090f599f604b9b832}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba01618746c91d9d1090f599f604b9b832}} 
E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO&The standard log level. Use it to report mentionable occurrences which do not flood the system too badly. They should be indicative for what the problem is in the most cases. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ELEKTRA\_LOG\_LEVEL\_DEBUG@{ELEKTRA\_LOG\_LEVEL\_DEBUG}!kdblogger.h@{kdblogger.h}}\index{kdblogger.h@{kdblogger.h}!ELEKTRA\_LOG\_LEVEL\_DEBUG@{ELEKTRA\_LOG\_LEVEL\_DEBUG}}}\mbox{\Hypertarget{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba24c7a4c44a8b99b978dc99806d083386}\label{kdblogger_8h_a4096a2ccd61c6f5ad60e9015fd1bbb4ba24c7a4c44a8b99b978dc99806d083386}} 
E\+L\+E\+K\+T\+R\+A\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+D\+E\+B\+UG&The debug log level. Can be used to log anything which was useful to debug the code. Is usually only turned on by the developer itself and you do not need consider the number of output it produces (expected to be used together with line-\/based suppressions in \mbox{\hyperlink{log_8c}{log.\+c}}). \\
\hline

\end{DoxyEnumFields}
