mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-07-29 22:16:34 +00:00
♻️ sync owner migration and facade thinning
This commit is contained in:
@@ -21,7 +21,7 @@ pub fn[S] LibraryAsyncLogger::new(
|
||||
config? : AsyncLoggerConfig = AsyncLoggerConfig::new(),
|
||||
min_level? : @bitlogger.Level = @bitlogger.Level::Info,
|
||||
target? : String = "",
|
||||
flush? : (S) -> Int raise = fn(_) { 0 },
|
||||
flush? : (S) -> Unit raise = fn(_) { () },
|
||||
) -> LibraryAsyncLogger[S] {
|
||||
library_async_logger(async_logger(sink, config~, min_level~, target~, flush~))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user