You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we added the log in the code, the logs are getting created twice. I have tried adding the log on Delegate its still printing the logs twice in the console.
Xcode: 14.2 (Rosetta)
XCGLogger version: 7.2.0
swift: 5
enabledDestinations.count is 3 for one log registered which is printing two message on the console.
You can see the console the message Theater loaded successfully 🎉 theater: is printed twice on the console.
The LOG is triggered only once in the code.
But in the XCLogger Class the function
Duplicate logs getting created
Issue
When we added the log in the code, the logs are getting created twice. I have tried adding the log on Delegate its still printing the logs twice in the console.
enabledDestinations.count
is 3 for one log registered which is printing two message on the console.You can see the console the message
Theater loaded successfully 🎉 theater:
is printed twice on the console.The LOG is triggered only once in the code.
But in the XCLogger Class the function
is creating duplicate logs in the terminal, which is causing issue in debugging the source code.
It looks like there is bug in the login function which is causing the logs to get generated twice.
Required Result
Print the log only once in the terminal and do not create duplicate of it
The text was updated successfully, but these errors were encountered: