Logger class

Classe utilitaire pour faciliter la journalisation

Permet de journaliser des messages avec différents niveaux de priorité et éventuellement de les envoyer à des services externes.

Constructors

Logger.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

error(String message, {dynamic error, StackTrace? stackTrace, String? tag}) → void
Journalise un message de niveau ERROR avec les détails de l'erreur
info(String message, {String? tag}) → void
Journalise un message de niveau INFO
warn(String message, {String? tag}) → void
Journalise un message de niveau WARNING