warning method

Logo warning(
  1. Object? content
)

Implementation

Logo warning(Object? content) {
  if (!this._expect([
    LogoLogLevelType.WARNING,
    LogoLogLevelType.INFO,
    LogoLogLevelType.DEBUG,
    LogoLogLevelType.VERBOSE,
  ])) {
    return this;
  }

  final String quote = getLogQuote(LogoLogLevelType.WARNING);
  final String prettified = mergeContent(quote, content, this._getConfig());

  this._logFunction(prettified);
  this._count++;
  return this;
}