mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
feat(postly): add explicit PrintLogger setup in main.dart for debug builds
This commit is contained in:
@@ -7,6 +7,7 @@ import 'di/app_module.dart';
|
||||
void main() {
|
||||
// Включаем cycle-detection только в debug/test
|
||||
if (kDebugMode) {
|
||||
CherryPick.setGlobalLogger(PrintLogger());
|
||||
CherryPick.enableGlobalCycleDetection();
|
||||
CherryPick.enableGlobalCrossScopeCycleDetection();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user