Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot fine 'logger' in scope despite importing all the packages

So I'll keep this short. I imported all the packages just fine and the app was working just fine until I started with the Firebase Auth stuff. I'm getting the following error: "Cannot find 'logger' in scope". I have all the packages imported as shown in the image. Would appreciate any recommendation. Thanks! enter image description here

like image 344
Singh Avatar asked Dec 02 '25 17:12

Singh


1 Answers

import OSLog

That's it. You just needed to know the right framework.

Then you need to create an instance.

let logger = Logger()
like image 82
Victor Engel Avatar answered Dec 05 '25 09:12

Victor Engel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!