LoggerFileOutput class

写入日志内容到文件中 实现LogOutput接口

Constructors

LoggerFileOutput.new({bool overrindeExistig = false, Encoding encoding = utf8})

Properties

encoding Encoding
latefinal
file File?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
overrindeExistig bool
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createDirectory() Future<String>
destroy() Future<void>
directoryLogRecord({required Function onCallback}) → void
getCurrentDay() String
getDirectoryForLogRecord() Future<void>
创建日志目录
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
output(OutputEvent event) → void
toString() String
A string representation of this object.
inherited

Operators

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