像這樣就可以幫只用 log 的函式加上目前在處理的資料,或是任務的id 等等,不過slog 就沒辦法用這種方式支援async/await 了, slog 的scope 目前是以thread local ...
確定! 回上一頁