mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 08:12:44 +10:00
docs(logging): Updated logging format
This commit is contained in:
@ -70,7 +70,7 @@ fn fetch_state(state: tauri::State<'_, Mutex<AppState>>) -> Result<AppState, Str
|
|||||||
|
|
||||||
fn setup() -> AppState {
|
fn setup() -> AppState {
|
||||||
let logfile = FileAppender::builder()
|
let logfile = FileAppender::builder()
|
||||||
.encoder(Box::new(PatternEncoder::new("{l} - {m}\n")))
|
.encoder(Box::new(PatternEncoder::new("{t}|{l}|{f} - {m}{n}")))
|
||||||
.build(DATA_ROOT_DIR.lock().unwrap().join("./drop.log"))
|
.build(DATA_ROOT_DIR.lock().unwrap().join("./drop.log"))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user