Skip to content

Commit 81c4dcb

Browse files
passport.cs
1 parent 07760c8 commit 81c4dcb

File tree

1 file changed

+0
-27
lines changed
  • src/Packages/Passport/Runtime/Scripts/Public

1 file changed

+0
-27
lines changed

src/Packages/Passport/Runtime/Scripts/Public/Passport.cs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -543,33 +543,6 @@ public void ClearStorage()
543543
}
544544
#endif
545545

546-
#if !IMMUTABLE_CUSTOM_BROWSER && (UNITY_STANDALONE_WIN || (UNITY_ANDROID && UNITY_EDITOR_WIN) || (UNITY_IPHONE && UNITY_EDITOR_WIN))
547-
/// <summary>
548-
/// Updates the log severity for the default Windows browser based on the current SDK log level.
549-
/// </summary>
550-
private static void SetDefaultWindowsBrowserLogLevel()
551-
{
552-
if (Instance?._webBrowserClient is WebBrowserClient browserClient)
553-
{
554-
browserClient.logSeverity = _logLevel switch
555-
{
556-
LogLevel.Debug => LogSeverity.Debug,
557-
LogLevel.Warn => LogSeverity.Warn,
558-
LogLevel.Error => LogSeverity.Error,
559-
_ => LogSeverity.Info
560-
};
561-
}
562-
}
563-
564-
private static void SetWindowsRedactionHandler()
565-
{
566-
if (Instance?._webBrowserClient is WebBrowserClient browserClient)
567-
{
568-
browserClient.Logger = new DefaultUnityWebBrowserLogger(redactionHandler: _redactTokensInLogs ? RedactTokenValues : null);
569-
}
570-
}
571-
#endif
572-
573546
/// <summary>
574547
/// Redacts access and ID token data from a log message if found.
575548
/// </summary>

0 commit comments

Comments
 (0)