log method

dynamic log (
  1. FijkLogLevel level,
  2. String msg,
  3. String tag
)

log msg with level and tag to console

Implementation

static log(FijkLogLevel level, String msg, String tag) {
  if (level.level >= _level.level) {
    DateTime now = DateTime.now();
    print("[${level.name}] ${now.toLocal()} [$tag] $msg");
  }
}