\hypertarget{structagora_1_1commons_1_1_log_config}{}\doxysection{agora\+::commons\+::Log\+Config Struct Reference}
\label{structagora_1_1commons_1_1_log_config}\index{agora::commons::LogConfig@{agora::commons::LogConfig}}


Configuration of Agora S\+DK log files.  




{\ttfamily \#include $<$I\+Agora\+Log.\+h$>$}

\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \mbox{\hyperlink{structagora_1_1commons_1_1_log_config_a9a4573301a5e20719af957bd49cf13b5}{file\+Path}}
\item 
uint32\+\_\+t \mbox{\hyperlink{structagora_1_1commons_1_1_log_config_a5935ed4ffccd4f7cb346c089a5bc6b4d}{file\+Size\+In\+KB}}
\item 
L\+O\+G\+\_\+\+L\+E\+V\+EL \mbox{\hyperlink{structagora_1_1commons_1_1_log_config_a4aa20ef9dfad96c11a6445abb74fc5ab}{level}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Configuration of Agora S\+DK log files. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1commons_1_1_log_config_a9a4573301a5e20719af957bd49cf13b5}\label{structagora_1_1commons_1_1_log_config_a9a4573301a5e20719af957bd49cf13b5}} 
\index{agora::commons::LogConfig@{agora::commons::LogConfig}!filePath@{filePath}}
\index{filePath@{filePath}!agora::commons::LogConfig@{agora::commons::LogConfig}}
\doxysubsubsection{\texorpdfstring{filePath}{filePath}}
{\footnotesize\ttfamily const char$\ast$ agora\+::commons\+::\+Log\+Config\+::file\+Path}

The complete path of the log files. Agora recommends using the default log directory. If you need to modify the default directory, ensure that the directory you specify exists and is writable. The default log directory is\+:
\begin{DoxyItemize}
\item Android\+: /storage/emulated/0/\+Android/data/$<$packagename$>$/files/agorasdk.log.
\item i\+OS\+: App Sandbox/\+Library/caches/agorasdk.\+log.
\item mac\+OS\+:
\begin{DoxyItemize}
\item If Sandbox is enabled\+: App Sandbox/\+Library/\+Logs/agorasdk.\+log. For example, /\+Users/$<$username$>$/\+Library/\+Containers/$<$\+App\+Bundle\+Identifier$>$/\+Data/\+Library/\+Logs/agorasdk.log.
\item If Sandbox is disabled\+: $\sim$/\+Library/\+Logs/agorasdk.log
\end{DoxyItemize}
\item Windows\+: C\+:\textbackslash{}\+Users$<$user\+\_\+name$>$\textbackslash{}\+App\+Data\textbackslash{}\+Local\textbackslash{}\+Agora$<$process\+\_\+name$>$\textbackslash{}agorasdk.log. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1commons_1_1_log_config_a5935ed4ffccd4f7cb346c089a5bc6b4d}\label{structagora_1_1commons_1_1_log_config_a5935ed4ffccd4f7cb346c089a5bc6b4d}} 
\index{agora::commons::LogConfig@{agora::commons::LogConfig}!fileSizeInKB@{fileSizeInKB}}
\index{fileSizeInKB@{fileSizeInKB}!agora::commons::LogConfig@{agora::commons::LogConfig}}
\doxysubsubsection{\texorpdfstring{fileSizeInKB}{fileSizeInKB}}
{\footnotesize\ttfamily uint32\+\_\+t agora\+::commons\+::\+Log\+Config\+::file\+Size\+In\+KB}

The size (KB) of an {\ttfamily agorasdk.\+log} file. The value range is \mbox{[}128,20480\mbox{]}. The default value is 2,048 KB. If you set {\ttfamily file\+Size\+In\+K\+Byte} smaller than 128 KB, the S\+DK automatically adjusts it to 128 KB; if you set {\ttfamily file\+Size\+In\+K\+Byte} greater than 20,480 KB, the S\+DK automatically adjusts it to 20,480 KB. \mbox{\Hypertarget{structagora_1_1commons_1_1_log_config_a4aa20ef9dfad96c11a6445abb74fc5ab}\label{structagora_1_1commons_1_1_log_config_a4aa20ef9dfad96c11a6445abb74fc5ab}} 
\index{agora::commons::LogConfig@{agora::commons::LogConfig}!level@{level}}
\index{level@{level}!agora::commons::LogConfig@{agora::commons::LogConfig}}
\doxysubsubsection{\texorpdfstring{level}{level}}
{\footnotesize\ttfamily L\+O\+G\+\_\+\+L\+E\+V\+EL agora\+::commons\+::\+Log\+Config\+::level}

The output level of the S\+DK log file. See {\ttfamily L\+O\+G\+\_\+\+L\+E\+V\+EL}. For example, if you set the log level to W\+A\+RN, the S\+DK outputs the logs within levels F\+A\+T\+AL, E\+R\+R\+OR, and W\+A\+RN. 