isLogPathInitialized static method

bool isLogPathInitialized(
  1. dynamic message
)

Implementation

static bool isLogPathInitialized(dynamic message) {
  try {
    final path = TCICConst.logFilePath;
    return path?.isNotEmpty ?? false;
  } catch (e) {
    TCICLog.error('log path is not initialized, message: $message', actionModule: ActionModule.tcicLog.name, actionName: ActionName.isLogPathInitialized.name);
    return false;
  }
}