logger_export

Creator: coderz1093

Last updated:

0 purchases

logger_export Image
logger_export Images
Add to Cart

Description:

logger export

logger_export #
A package that help to log and export log file
example #
create global variable
final logger =
LoggerExport(color: false, writeLogToFile: true, writeLogToConsole: true);
copied to clipboard
log any thing
logger.d("debug when ${{"a": 2}}");
logger.d([0, 1, 2, 3]);
try {
throw Exception("some except");
} catch (e, s) {
//write error log
logger.e(e, stackTrace: s);
}
copied to clipboard
get log file
final logFile = await logger.getLogFile();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.