ULinkLogEntry class
Represents a log entry from the ULink SDK
Constructors
- ULinkLogEntry({required String level, required String tag, required String message, required int timestamp})
- Creates a log entry
- ULinkLogEntry.fromMap(Map map)
-
Creates a log entry from a map
factory
Properties
- dateTime → DateTime
-
Returns the DateTime of this log entry
no setter
- formattedTime → String
-
Returns a formatted time string (HH:mm:ss.SSS)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → String
-
Log level: debug, info, warning, error
final
- message → String
-
Log message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
Log tag/source
final
- timestamp → int
-
Timestamp in milliseconds since epoch
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts to a map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- levelDebug → const String
- Log level constants
- levelError → const String
- levelInfo → const String
- levelWarning → const String