SecurityLogEntry class

A single structured log entry produced by LoggingLayer.

Constructors

SecurityLogEntry({required DateTime timestamp, required String layerName, required String userId, required String ipAddress, required String message})
Creates a structured log entry.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
ipAddress String
The originating IP address of the logged request.
final
layerName String
The name of the layer that produced this entry (always LoggingLayer, since only it creates entries).
final
message String
A short human-readable description of what happened.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
When this log entry was recorded.
final
userId String
The user associated with the logged request, or 'anonymous'.
final

Methods

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

Operators

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