info static method
void
info({})
설명
- 정보성 로그를 표시한다.
hideStackTrace의 기본값이 true로, 호출스택을 표시하지 않는다.
Implementation
static void info({
final String? content,
final String? title,
final String? category,
final Object? exception,
final StackTrace? stackTrace,
final int maxStackTraceLine = 20,
final bool hideStackTrace = true,
}) {
final newStackTrace = stackTrace ?? StackTrace.current.removeTop(1);
LoggerCore.log(
logLevel: LogLevel.info,
title: title,
content: content,
category: category,
exception: exception,
stackTrace: newStackTrace,
maxStackTraceLine: maxStackTraceLine,
hideStackTrace: hideStackTrace,
);
}