\doxysection{src/core/logging\+\_\+systemd.c File Reference}
\label{logging__systemd_8c}\index{src/core/logging\_systemd.c@{src/core/logging\_systemd.c}}
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$syslog.\+h$>$}\newline
{\ttfamily \#include $<$systemd/sd-\/journal.\+h$>$}\newline
{\ttfamily \#include \char`\"{}config.\+h\char`\"{}}\newline
{\ttfamily \#include $<$osmocom/core/talloc.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/utils.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ SD\+\_\+\+JOURNAL\+\_\+\+SUPPRESS\+\_\+\+LOCATION}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static int \textbf{ logp2syslog\+\_\+level} (unsigned int \textbf{ level})
\item 
static void \textbf{ \+\_\+systemd\+\_\+output} (struct \textbf{ log\+\_\+target} $\ast$target, unsigned int \textbf{ level}, const char $\ast$log)
\item 
static void \textbf{ \+\_\+systemd\+\_\+raw\+\_\+output} (struct \textbf{ log\+\_\+target} $\ast$target, int \textbf{ subsys}, unsigned int \textbf{ level}, const char $\ast$\textbf{ file}, int line, int cont, const char $\ast$format, va\+\_\+list ap)
\item 
struct \textbf{ log\+\_\+target} $\ast$ \textbf{ log\+\_\+target\+\_\+create\+\_\+systemd} (bool raw)
\begin{DoxyCompactList}\small\item\em Create a new logging target for systemd journal logging. \end{DoxyCompactList}\item 
void \textbf{ log\+\_\+target\+\_\+systemd\+\_\+set\+\_\+raw} (struct \textbf{ log\+\_\+target} $\ast$target, bool raw)
\begin{DoxyCompactList}\small\item\em Change meta information handling of an existing logging target. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\label{logging__systemd_8c_ga8e2436af7e6195055c738e37b1016bb9}} 
\index{logging\_systemd.c@{logging\_systemd.c}!logp2syslog\_level@{logp2syslog\_level}}
\index{logp2syslog\_level@{logp2syslog\_level}!logging\_systemd.c@{logging\_systemd.c}}
\doxysubsubsection{logp2syslog\_level()}
{\footnotesize\ttfamily static int logp2syslog\+\_\+level (\begin{DoxyParamCaption}\item[{unsigned int}]{level }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



References \textbf{ level}, \textbf{ LOGL\+\_\+\+ERROR}, \textbf{ LOGL\+\_\+\+FATAL}, \textbf{ LOGL\+\_\+\+INFO}, and \textbf{ LOGL\+\_\+\+NOTICE}.



Referenced by \textbf{ \+\_\+systemd\+\_\+output()}, and \textbf{ \+\_\+systemd\+\_\+raw\+\_\+output()}.

