Update example documentation

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2025-04-30 14:41:26 +02:00
parent ad63b15826
commit 1eab50b0f5
3 changed files with 94 additions and 75 deletions
+4
View File
@@ -58,6 +58,8 @@ abstract class Arcane {
/// - [stackTrace]: Optional stack trace information.
/// - [metadata]: Optional additional metadata in key-value pairs.
/// - [extra]: Optional data passed to the logger.
/// - [skipAutodetection]: Bypass automatically determining the module, method,
/// and file/line number of log messages.
static void log(
String message, {
String? module,
@@ -66,6 +68,7 @@ abstract class Arcane {
StackTrace? stackTrace,
Map<String, String>? metadata,
Object? extra,
bool skipAutodetection = false,
}) {
ArcaneLogger.I.log(
message,
@@ -75,6 +78,7 @@ abstract class Arcane {
stackTrace: stackTrace,
metadata: metadata,
extra: extra,
skipAutodetection: skipAutodetection,
);
}
}