LogOutput class abstract
- @Author: chuxiong
- @Created at: 2025/01/XX
- @Email:
- @Company: 嘉联支付
- description 日志输出器接口 日志输出器抽象基类。子类实现 output 将一条 LogEntry 投递到目标 (控制台 / 文件 / 网络)。可选实现 initialize / dispose 管理资源。
Constructors
Properties
Methods
-
dispose(
) → Future< void> - 销毁输出器(如 flush / 关闭流)。默认空实现。
-
initialize(
) → Future< void> - 初始化输出器(如打开连接 / 文件)。默认空实现。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
LogEntry entry) → Future< void> - 输出一条日志条目。
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited