print static method
log supportting on multiple consoles
@paramisDebug
: default printing only on debug mode, not set using @param static isDebugPrint.
Implementation
static void print(Object? object, {bool? isLog, String? fileLocation, bool? isDebug}) {
final String fileInfo = Dev.isLogFileLocation ?
(fileLocation != null ? '($fileLocation): ' : '(${StackTrace.current.toString().split('\n')[1].split('/').last}: ')
: '';
String msg = "$object";
DevColorizedLog.logCustom(msg,
enable: Dev.enable,
isLog: isLog,
isMultConsole: true,
isDebugPrint: isDebug ?? Dev.isDebugPrint,
fileInfo: fileInfo,
);
}