类 LogUtils

java.lang.Object
dev.environment.log.LogUtils

public final class LogUtils extends Object
detail: 日志打印工具类 ( 简化版 )
作者:
Ttt
  • 方法详细资料

    • isPrintLog

      public static boolean isPrintLog()
      判断是否打印日志
      返回:
      true yes, false no
    • setPrintLog

      public static void setPrintLog(boolean printLog)
      设置是否打印日志
      参数:
      printLog - 是否允许打印日志
    • printStackTrace

      public static void printStackTrace(Throwable error)
      打印错误信息
      参数:
      error - 异常信息