SipFileLogger class abstract

Wire-format logger. One file per launch on native; a no-op shim on web.

Implementers

Constructors

SipFileLogger(String path)
Construct the platform-default logger. On web returns a no-op implementation that ignores path.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
Absolute path to the log file. May be empty on no-op web logger.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Flush and close.
log(String direction, SipMessage msg) → void
Log a parsed message we just sent (OUT) or received (IN).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
note(String line) → void
Log a free-form line (transport state changes, errors, ...).
open() → void
Open (or create) the log target. Safe to call more than once.
toString() String
A string representation of this object.
inherited

Operators

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