Log
Updated at:2025-11-03
Use the following code to enable or disable SDK runtime logs during debugging.
-
Example code
Java1…… 2import com.baidubce.util.BLog; 3…… 4BLog.disableLog(); 5BLog.enableLog();




Use the following code to enable or disable SDK runtime logs during debugging.
Example code
1……
2import com.baidubce.util.BLog;
3……
4BLog.disableLog();
5BLog.enableLog();