log static method

dynamic log(
  1. String message, [
  2. Object? error
])

Implementation

static log(String message, [Object? error]) {
  if (_isLogsEnabled) {
    dev.log(
      message,
      name: "Nostr${error != null ? "Error" : ""}",
      error: error,
    );
  }
}