Skip to content

Commit

Permalink
Deprecate iOS LogLevel.Trace and add LogLevel.Verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaganeh committed Jan 18, 2024
1 parent 66a6660 commit d1c7368
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SampleApp/SampleApp.iOS/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
// Set log level for debugging config loading (optional)
// It will be set to the value in the loaded config upon takeOff
UAirship.LogLevel = UALogLevel.Trace;
UAirship.LogLevel = UALogLevel.Verbose;

// Populate AirshipConfig.plist with your app's info from https://go.urbanairship.com
// or set runtime properties here.
Expand Down
4 changes: 3 additions & 1 deletion src/AirshipBindings.iOS.Core/StructsAndEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ public enum UALogLevel : long
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5
[Obsolete("Use Verbose instead. Trace will be removed in a future release.")]
Trace = 5,
Verbose = 5
}

[Native]
Expand Down

0 comments on commit d1c7368

Please sign in to comment.