@@ -274,7 +274,7 @@ enum LogTarget {
274
274
MatrixSdkBaseResponseProcessors ,
275
275
276
276
// SDK common modules.
277
- MatrixSdkCommonStoreLocks ,
277
+ MatrixSdkCommonCrossProcessLock ,
278
278
279
279
// SDK modules.
280
280
MatrixSdk ,
@@ -302,7 +302,7 @@ impl LogTarget {
302
302
LogTarget :: MatrixSdkBaseSlidingSync => "matrix_sdk_base::sliding_sync" ,
303
303
LogTarget :: MatrixSdkBaseStoreAmbiguityMap => "matrix_sdk_base::store::ambiguity_map" ,
304
304
LogTarget :: MatrixSdkBaseResponseProcessors => "matrix_sdk_base::response_processors" ,
305
- LogTarget :: MatrixSdkCommonStoreLocks => "matrix_sdk_common::store_locks " ,
305
+ LogTarget :: MatrixSdkCommonCrossProcessLock => "matrix_sdk_common::cross_process_lock " ,
306
306
LogTarget :: MatrixSdk => "matrix_sdk" ,
307
307
LogTarget :: MatrixSdkClient => "matrix_sdk::client" ,
308
308
LogTarget :: MatrixSdkCrypto => "matrix_sdk_crypto" ,
@@ -335,18 +335,18 @@ const DEFAULT_TARGET_LOG_LEVELS: &[(LogTarget, LogLevel)] = &[
335
335
( LogTarget :: MatrixSdkEventCache , LogLevel :: Info ) ,
336
336
( LogTarget :: MatrixSdkBaseEventCache , LogLevel :: Info ) ,
337
337
( LogTarget :: MatrixSdkEventCacheStore , LogLevel :: Info ) ,
338
- ( LogTarget :: MatrixSdkCommonStoreLocks , LogLevel :: Warn ) ,
338
+ ( LogTarget :: MatrixSdkCommonCrossProcessLock , LogLevel :: Warn ) ,
339
339
( LogTarget :: MatrixSdkBaseStoreAmbiguityMap , LogLevel :: Warn ) ,
340
340
( LogTarget :: MatrixSdkUiNotificationClient , LogLevel :: Info ) ,
341
341
( LogTarget :: MatrixSdkBaseResponseProcessors , LogLevel :: Debug ) ,
342
342
] ;
343
343
344
344
const IMMUTABLE_LOG_TARGETS : & [ LogTarget ] = & [
345
- LogTarget :: Hyper , // Too verbose
346
- LogTarget :: MatrixSdk , // Too generic
347
- LogTarget :: MatrixSdkFfi , // Too verbose
348
- LogTarget :: MatrixSdkCommonStoreLocks , // Too verbose
349
- LogTarget :: MatrixSdkBaseStoreAmbiguityMap , // Too verbose
345
+ LogTarget :: Hyper , // Too verbose
346
+ LogTarget :: MatrixSdk , // Too generic
347
+ LogTarget :: MatrixSdkFfi , // Too verbose
348
+ LogTarget :: MatrixSdkCommonCrossProcessLock , // Too verbose
349
+ LogTarget :: MatrixSdkBaseStoreAmbiguityMap , // Too verbose
350
350
] ;
351
351
352
352
/// A log pack can be used to set the trace log level for a group of multiple
@@ -723,7 +723,7 @@ mod tests {
723
723
matrix_sdk::event_cache=info,
724
724
matrix_sdk_base::event_cache=info,
725
725
matrix_sdk_sqlite::event_cache_store=info,
726
- matrix_sdk_common::store_locks =warn,
726
+ matrix_sdk_common::cross_process_lock =warn,
727
727
matrix_sdk_base::store::ambiguity_map=warn,
728
728
matrix_sdk_ui::notification_client=info,
729
729
matrix_sdk_base::response_processors=debug,
@@ -767,7 +767,7 @@ mod tests {
767
767
matrix_sdk::event_cache=trace,
768
768
matrix_sdk_base::event_cache=trace,
769
769
matrix_sdk_sqlite::event_cache_store=trace,
770
- matrix_sdk_common::store_locks =warn,
770
+ matrix_sdk_common::cross_process_lock =warn,
771
771
matrix_sdk_base::store::ambiguity_map=warn,
772
772
matrix_sdk_ui::notification_client=trace,
773
773
matrix_sdk_base::response_processors=trace,
@@ -812,7 +812,7 @@ mod tests {
812
812
matrix_sdk::event_cache=trace,
813
813
matrix_sdk_base::event_cache=trace,
814
814
matrix_sdk_sqlite::event_cache_store=trace,
815
- matrix_sdk_common::store_locks =warn,
815
+ matrix_sdk_common::cross_process_lock =warn,
816
816
matrix_sdk_base::store::ambiguity_map=warn,
817
817
matrix_sdk_ui::notification_client=info,
818
818
matrix_sdk_base::response_processors=debug,
0 commit comments