![]() Exception loggingĮxception logging sends unhandled exceptions in your script project code When reporting issues to help you identify the relevant logs. Then users may choose to include their keys One way to use this method is to display the key to the user You can also get the temporary active user key by calling Select a log entry of interest and expand it to view Once you've opened the GCP project in the console, You can do this only if your script project is using a To find temporary active user keys in your Cloud Log entries, You don't have to add anything to your logging they're already there!.Temporary active user keys are superior to logging identifiers like email Should a user reveal their identity to a developer, for example while reporting KeysĪre per script and change roughly once a month to provide additional security Temporary active user keys provide a convenient way to spot unique users inĬloud Log entries without revealing the identities of those users. ![]() MyFunction(parameters) // Function to time.Ĭonsole.error('myFunction() yielded an error: ' + e) Ĭonsole.timeEnd(label) // Stops the timer, logs execution duration. ![]() * ) Ĭonst label = 'myFunction() time' // Labels the timing log entry.Ĭonsole.time(label) // Starts the timer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |