log method
Function to log a message on a certain log level
Implementation
void log(String message, CacheManagerLogLevel level) {
if (CacheManager.logLevel.index >= level.index) {
// ignore: avoid_print
print(message);
}
}
Function to log a message on a certain log level
void log(String message, CacheManagerLogLevel level) {
if (CacheManager.logLevel.index >= level.index) {
// ignore: avoid_print
print(message);
}
}