FlutterSocketLogPlugin class abstract

Constructors

FlutterSocketLogPlugin()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

clientStream → Stream<Socket?>
clientStream stream which sends current Socket client connected to the application
no setter
wifiIp → Future<String?>
gets the IP address of wifi the application connected to
no setter

Static Methods

createLogLevel(String name, int color, int iconData) → LogLevel
creates log level with given parameters
createTag(String name, int color, int iconData) → LogTag
creates tag with given parameters
init({required String appName, List<LogLevel>? logLevels, List<LogTag>? logTags}) → void
initializes the plugin logLevels -> log levels used for the duration of the app if no log level is set, the defaults are used(error, debug, warning, info, success) logTags -> tags to be used for a log. if no log tag is set, the defaults are used(bluetooth, network)
log(String log, LogLevel logLevel, List<LogTag> logTags) → void
logs to remote client app
restart() → void