XrayLog class

Logging fields for generated Xray JSON.

Native VPN preparation may replace paths and logging policy. These values do not configure the plugin diagnostics buffer.

Implemented types

Constructors

XrayLog({String access = '', String error = '', String logLevel = 'error', bool dnsLog = false})
Creates logging settings; defaults to error-level logging with empty paths and DNS logging disabled.
const

Properties

access → String
Access-log destination passed to Core; empty by default.
final
dnsLog → bool
Whether generated JSON requests Core DNS logging; defaults to false.
final
error → String
Error-log destination passed to Core; empty by default.
final
hashCode → int
The hash code for this object.
no setterinherited
logLevel → String
Core log level, serialized as loglevel; defaults to error.
final
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
toJson() → JsonMap
Returns this value as JSON fields.
override
toString() → String
A string representation of this object.
inherited

Operators

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