\hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config}{}\doxysection{io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+Log\+Config Class Reference}
\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config}\index{io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}}


Configuration of Agora S\+DK log files.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a750a1274dfdf6740b156c3ba581dc2fa}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a750a1274dfdf6740b156c3ba581dc2fa}} 
String {\bfseries get\+File\+Path} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_aa5ef7157631cb6adab26c22c65e0ebc3}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_aa5ef7157631cb6adab26c22c65e0ebc3}} 
int {\bfseries get\+File\+Size} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a3ad3e87960669b85eeb502e6896f9efe}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a3ad3e87960669b85eeb502e6896f9efe}} 
int {\bfseries get\+Level} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a9d9bbd61a664896d3c2149ce3690d295}{file\+Path}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a7d466bd07d1e4d8d5234157231ca1e13}{file\+Size\+In\+KB}}
\item 
int \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_add72b9c400715d415f0971454e633043}{level}} = Constants.\+Log\+Level.\+get\+Value(\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_log_level_ae7a2c462b453d6cd1967ba05ed69a4ed}{Constants.\+Log\+Level.\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}})
\end{DoxyCompactItemize}


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

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a9d9bbd61a664896d3c2149ce3690d295}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a9d9bbd61a664896d3c2149ce3690d295}} 
\index{io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}!filePath@{filePath}}
\index{filePath@{filePath}!io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}}
\doxysubsubsection{\texorpdfstring{filePath}{filePath}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+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 path is /storage/emulated/0/\+Android/data/$<$packagename$>$/files/agorasdk.log. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a7d466bd07d1e4d8d5234157231ca1e13}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_a7d466bd07d1e4d8d5234157231ca1e13}} 
\index{io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}!fileSizeInKB@{fileSizeInKB}}
\index{fileSizeInKB@{fileSizeInKB}!io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}}
\doxysubsubsection{\texorpdfstring{fileSizeInKB}{fileSizeInKB}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+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{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_add72b9c400715d415f0971454e633043}\label{classio_1_1agora_1_1rtc2_1_1_rtc_engine_config_1_1_log_config_add72b9c400715d415f0971454e633043}} 
\index{io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}!level@{level}}
\index{level@{level}!io.agora.rtc2.RtcEngineConfig.LogConfig@{io.agora.rtc2.RtcEngineConfig.LogConfig}}
\doxysubsubsection{\texorpdfstring{level}{level}}
{\footnotesize\ttfamily int io.\+agora.\+rtc2.\+Rtc\+Engine\+Config.\+Log\+Config.\+level = Constants.\+Log\+Level.\+get\+Value(\mbox{\hyperlink{enumio_1_1agora_1_1rtc2_1_1_constants_1_1_log_level_ae7a2c462b453d6cd1967ba05ed69a4ed}{Constants.\+Log\+Level.\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+\+I\+N\+FO}})}

The output level of the S\+DK log file. See {\ttfamily Log\+Level}. 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. 