Skip to content

Commit 23821cf

Browse files
committed
rust: update to the new init_platform method
1 parent 5f09d2a commit 23821cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/api/rust/rust.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ func DeleteOldLogs(prefix string) {
3030

3131
func SetupLogs(prefix string) {
3232
// log new files
33-
matrix_sdk_ffi.SetupTracing(matrix_sdk_ffi.TracingConfiguration{
33+
matrix_sdk_ffi.InitPlatform(matrix_sdk_ffi.TracingConfiguration{
3434
LogLevel: matrix_sdk_ffi.LogLevelTrace,
3535
ExtraTargets: nil,
3636
WriteToStdoutOrSystem: false,
3737
WriteToFiles: &matrix_sdk_ffi.TracingFileConfiguration{
3838
Path: "./logs",
3939
FilePrefix: prefix,
4040
},
41-
})
41+
}, false)
4242
}
4343

4444
var zero uint32

0 commit comments

Comments
 (0)