Skip to content

Commit

Permalink
💫 Update: Disable Logging in ViewControllerLifecycleNotifier
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Sep 27, 2024
1 parent 8df85aa commit 38a3427
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ios/Temp/ViewControllerLifecycleNotifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,15 @@ open class ViewControllerLifecycleNotifier: UIViewController {
// ---------------------

#if DEBUG
public static var _debugShouldLog = true;
public static var _debugShouldLog = false;

private var _debugDidAutoLogViewControllerMetrics = false;

func debugLogViewControllerMetrics(invoker: String = #function){
guard Self._debugShouldLog else {
return;
};

var debugMessage =
"ViewControllerLifecycleNotifier.logViewControllerMetrics"
+ "\n - invoker: \(invoker)"
Expand Down

0 comments on commit 38a3427

Please sign in to comment.