ServerLog class Null safety
Roughly matches the LogRecord
class from package:logging
.
- Implemented types
Constructors
- ServerLog([dynamic updates(ServerLogBuilder b)])
-
factory
- ServerLog.fromLogRecord(LogRecord record)
-
factory
Properties
- error → String?
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- level → Level
-
read-only
- loggerName → String?
-
read-only
- message → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- stackTrace → String?
-
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
rebuild(
dynamic updates(ServerLogBuilder)) → ServerLog -
Rebuilds the instance.
inherited
-
toBuilder(
) → ServerLogBuilder -
Converts the instance to a builder
B
.inherited -
toLogRecord(
) → LogRecord -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
ServerLog> -
read-only