Logger class
Information about a logger
Constructors
- Logger.new({required LoggerComponent component, required String id, required LoggerLevel level, required LoggerType type, int? space})
-
Logger.fromJson(Map<
String, dynamic> json) -
factory
Properties
- component → LoggerComponent
-
The component that will be subject to logging.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A descriptive or arbitrary ID for the logger. This value must be unique
within the logger definition version. Max length is 128 characters with
pattern ''
a-zA-Z0-9:_-
+''.final - level → LoggerLevel
-
The level of the logs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- space → int?
-
The amount of file space, in KB, to use if the local file system is used for
logging purposes.
final
- type → LoggerType
-
The type of log output which will be used.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited