info method

Future<void> info(
  1. String message, {
  2. String? caller,
})

Implementation

Future<void> info(String message, {String? caller}) async
{
  try
  {
    // print in debug mode only
    if (kDebugMode) print('Info: $message' + (caller != null ? ' -> $caller' : ''));

    // add the entry
    DATABASE.Log e = DATABASE.Log(type: "info", message: message, caller: caller);
    _addEntry(e);
  }
  catch(ex)
  {
    print('Catch - Info: $message' + (caller != null ? ' -> $caller' : ''));
  }
}