mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-09-07 09:54:07 +00:00
⬆️ upgrade async and replace native file FFI
升级 async 依赖,迁移到 MoonBit 原生 async/fs 文件接口,移除项目自有 C FFI,并固定文本文件为 LF。CI 全部通过。
This commit is contained in:
@@ -77,6 +77,7 @@ pub struct AsyncLogger[S] {
|
||||
flush_policy : @utils.AsyncFlushPolicy
|
||||
sink : S
|
||||
flush_callback : (S) -> Unit raise
|
||||
flush_async_callback : (async (S) -> Unit)?
|
||||
context_fields : Array[@core.Field]
|
||||
filter : (@core.Record) -> Bool
|
||||
patch : (@core.Record) -> @core.Record
|
||||
|
||||
Reference in New Issue
Block a user