error static method

Future<void> error(
  1. String msg
)

Inserts an "error" log message into the SDK's log database

Example

Logger.error("Something BAD");
E TSLocationManager: [c.t.l.logger.TSLog log]
E TSLocationManager: ‼ Something BAD

Implementation

static Future<void> error(String msg) {
  return _log(_LOG_LEVEL_ERROR, msg);
}