dart_frog_request_logger library

Classes

Chain
A chain of stack traces.
Frame
A single stack frame. Each frame points to a precise location in Dart code.
RequestLogger
A logger middleware for shelf that formats its messages according to its logFormatter

Enums

Severity
A logging severity reported in Cloud Logging

Functions

frameFromChain(Chain? chain, {List<String> packageExcludeList = const []}) Frame?
Returns a Frame from chain if possible, otherwise, null.

Typedefs

LogFormatter = String Function({Chain? chain, required Map<String, String?> headers, bool? isError, Map<String, dynamic>? labels, required String message, Map<String, dynamic>? payload, required Severity severity, Frame? stackFrame})
A function that formats a new log string.