It is possible to use 'google-cloud/logging' in local with the firebase emulator ? #7513
Unanswered
KatnissApp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try to log in locally using the Firebase Emulator with GCP logging, I can't use logging from the library
@google-cloud/logging
. If I useconsole.log()
, it works fine. I have already tried deploying the function, and logging with@google-cloud/logging
works, just not locally.I get the following error when I try to run 'log.write(entry)':
My function code :
I have already tried setting up with a service account but still nothing:
If someone can help, it would be great.
Beta Was this translation helpful? Give feedback.
All reactions