\doxysection{log\+\_\+info Struct Reference}
\label{structlog__info}\index{log\_info@{log\_info}}


Logging configuration, passed to \doxyref{log\+\_\+init}{p.}{group__logging_gabf0d1770253db45f43db9344e950a724}.  




{\ttfamily \#include $<$logging.\+h$>$}

\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\textbf{ log\+\_\+filter} $\ast$ \textbf{ filter\+\_\+fn}
\item 
const struct \textbf{ log\+\_\+info\+\_\+cat} $\ast$ \textbf{ cat}
\begin{DoxyCompactList}\small\item\em per-\/category information \end{DoxyCompactList}\item 
unsigned int \textbf{ num\+\_\+cat}
\begin{DoxyCompactList}\small\item\em total number of categories \end{DoxyCompactList}\item 
unsigned int \textbf{ num\+\_\+cat\+\_\+user}
\begin{DoxyCompactList}\small\item\em total number of user categories (not library) \end{DoxyCompactList}\item 
\textbf{ log\+\_\+save\+\_\+filters} $\ast$ \textbf{ save\+\_\+fn}
\begin{DoxyCompactList}\small\item\em filter saving function \end{DoxyCompactList}\item 
\textbf{ log\+\_\+print\+\_\+filters} $\ast$ \textbf{ print\+\_\+fn}
\begin{DoxyCompactList}\small\item\em filter saving function \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Logging configuration, passed to \doxyref{log\+\_\+init}{p.}{group__logging_gabf0d1770253db45f43db9344e950a724}. 

\doxysubsection{Field Documentation}
\mbox{\label{structlog__info_ad04cfc6b8275c1f4c863277b3734d838}} 
\index{log\_info@{log\_info}!cat@{cat}}
\index{cat@{cat}!log\_info@{log\_info}}
\doxysubsubsection{cat}
{\footnotesize\ttfamily const struct \textbf{ log\+\_\+info\+\_\+cat}$\ast$ log\+\_\+info\+::cat}



per-\/category information 



Referenced by \textbf{ color()}, \textbf{ log\+\_\+category\+\_\+name()}, \textbf{ log\+\_\+init()}, \textbf{ log\+\_\+parse\+\_\+category()}, \textbf{ log\+\_\+parse\+\_\+category\+\_\+mask()}, and \textbf{ log\+\_\+target\+\_\+create()}.

\mbox{\label{structlog__info_ac34134fd6a2e1f737e81e47778d51010}} 
\index{log\_info@{log\_info}!filter\_fn@{filter\_fn}}
\index{filter\_fn@{filter\_fn}!log\_info@{log\_info}}
\doxysubsubsection{filter\_fn}
{\footnotesize\ttfamily \textbf{ log\+\_\+filter}$\ast$ log\+\_\+info\+::filter\+\_\+fn}



Referenced by \textbf{ log\+\_\+init()}, and \textbf{ should\+\_\+log\+\_\+to\+\_\+target()}.

\mbox{\label{structlog__info_a06e0834d4cb1ae15804a0ecc8f4e5425}} 
\index{log\_info@{log\_info}!num\_cat@{num\_cat}}
\index{num\_cat@{num\_cat}!log\_info@{log\_info}}
\doxysubsubsection{num\_cat}
{\footnotesize\ttfamily unsigned int log\+\_\+info\+::num\+\_\+cat}



total number of categories 



Referenced by \textbf{ log\+\_\+cache\+\_\+enable()}, \textbf{ log\+\_\+cache\+\_\+update\+\_\+all()}, \textbf{ log\+\_\+init()}, \textbf{ log\+\_\+parse\+\_\+category()}, \textbf{ log\+\_\+parse\+\_\+category\+\_\+mask()}, \textbf{ log\+\_\+target\+\_\+create()}, and \textbf{ map\+\_\+subsys()}.

\mbox{\label{structlog__info_aecf62f5d344271f7f21c17517a807b11}} 
\index{log\_info@{log\_info}!num\_cat\_user@{num\_cat\_user}}
\index{num\_cat\_user@{num\_cat\_user}!log\_info@{log\_info}}
\doxysubsubsection{num\_cat\_user}
{\footnotesize\ttfamily unsigned int log\+\_\+info\+::num\+\_\+cat\+\_\+user}



total number of user categories (not library) 



Referenced by \textbf{ log\+\_\+init()}, \textbf{ map\+\_\+subsys()}, and \textbf{ subsys\+\_\+lib2index()}.

\mbox{\label{structlog__info_a26d712e8561e82edb8fafc642596f455}} 
\index{log\_info@{log\_info}!print\_fn@{print\_fn}}
\index{print\_fn@{print\_fn}!log\_info@{log\_info}}
\doxysubsubsection{print\_fn}
{\footnotesize\ttfamily \textbf{ log\+\_\+print\+\_\+filters}$\ast$ log\+\_\+info\+::print\+\_\+fn}



filter saving function 

\mbox{\label{structlog__info_a6e734e6630e6ecaab2d50be1237f0517}} 
\index{log\_info@{log\_info}!save\_fn@{save\_fn}}
\index{save\_fn@{save\_fn}!log\_info@{log\_info}}
\doxysubsubsection{save\_fn}
{\footnotesize\ttfamily \textbf{ log\+\_\+save\+\_\+filters}$\ast$ log\+\_\+info\+::save\+\_\+fn}



filter saving function 



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/osmocom/core/\textbf{ logging.\+h}\end{DoxyCompactItemize}
