mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +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() {
|
void main() {
|
||||||
// Включаем cycle-detection только в debug/test
|
// Включаем cycle-detection только в debug/test
|
||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
|
CherryPick.setGlobalLogger(PrintLogger());
|
||||||
CherryPick.enableGlobalCycleDetection();
|
CherryPick.enableGlobalCycleDetection();
|
||||||
CherryPick.enableGlobalCrossScopeCycleDetection();
|
CherryPick.enableGlobalCrossScopeCycleDetection();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user