LogEntry class

Available extensions
Annotations
  • @DaoType.new(name: 'log_entry')

Constructors

LogEntry({required int id, required String instanceId, required String serviceName, required LogLevel level, required DateTime timestamp, required String message, required String? sender, required Map<String, String>? path, required Map<String, dynamic>? meta})
LogEntry.fromLogEvent(LogEventDto event)

Properties

bean → _LogEntryDataBeanImpl
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
final
instanceId String
final
level → LogLevel
final
message String
final
meta Map<String, dynamic>?
final
path Map<String, String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String?
final
serviceName String
final
timestamp DateTime
final

Methods

copyWith({int? id, String? instanceId, String? serviceName, LogLevel? level, DateTime? timestamp, String? message, String? sender, bool nullSender = false, Map<String, String>? path, bool nullPath = false, Map<String, dynamic>? meta, bool nullMeta = false}) LogEntry

Available on LogEntry, provided by the LogEntryCopyExtension extension

copyWithPrimaryKey(int value) LogEntry
inherited
getPrimaryKey() int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toApiLogEvent() LogEventApiDto
toLogEvent() LogEventDto
toString() String
A string representation of this object.
inherited

Operators

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