mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
v1.0.8
- Added the `extra` parameter to the `Arcane.log` shortcut method Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.0.8
|
||||||
|
|
||||||
|
- Added the `extra` parameter to the `Arcane.log` shortcut method
|
||||||
|
|
||||||
## 1.0.7
|
## 1.0.7
|
||||||
|
|
||||||
- Added the `extra` parameter to the `LoggingInterface`
|
- Added the `extra` parameter to the `LoggingInterface`
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ class Arcane {
|
|||||||
/// `Level.debug`.
|
/// `Level.debug`.
|
||||||
/// - [stackTrace]: Optional stack trace information.
|
/// - [stackTrace]: Optional stack trace information.
|
||||||
/// - [metadata]: Optional additional metadata in key-value pairs.
|
/// - [metadata]: Optional additional metadata in key-value pairs.
|
||||||
|
/// - [extra]: Optional data passed to the logger.
|
||||||
static void log(
|
static void log(
|
||||||
String message, {
|
String message, {
|
||||||
String? module,
|
String? module,
|
||||||
@@ -71,6 +72,7 @@ class Arcane {
|
|||||||
Level level = Level.debug,
|
Level level = Level.debug,
|
||||||
StackTrace? stackTrace,
|
StackTrace? stackTrace,
|
||||||
Map<String, String>? metadata,
|
Map<String, String>? metadata,
|
||||||
|
Object? extra,
|
||||||
}) {
|
}) {
|
||||||
ArcaneLogger.I.log(
|
ArcaneLogger.I.log(
|
||||||
message,
|
message,
|
||||||
@@ -79,6 +81,7 @@ class Arcane {
|
|||||||
level: level,
|
level: level,
|
||||||
stackTrace: stackTrace,
|
stackTrace: stackTrace,
|
||||||
metadata: metadata,
|
metadata: metadata,
|
||||||
|
extra: extra,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
name: arcane_framework
|
name: arcane_framework
|
||||||
description: "Agnostic Reusable Component Architecture for New Ecosystems: a modern framework for bootstrapping new applications"
|
description: "Agnostic Reusable Component Architecture for New Ecosystems: a modern framework for bootstrapping new applications"
|
||||||
version: 1.0.7
|
version: 1.0.8
|
||||||
repository: https://github.com/hanskokx/arcane_framework
|
repository: https://github.com/hanskokx/arcane_framework
|
||||||
issue_tracker: https://github.com/hanskokx/arcane_framework/issues
|
issue_tracker: https://github.com/hanskokx/arcane_framework/issues
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user