Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiagnosticLogger: Fix typo in defining the console function #1699

Merged
merged 1 commit into from
Oct 25, 2021

Conversation

MSNev
Copy link
Collaborator

@MSNev MSNev commented Oct 23, 2021

No description provided.

@@ -40,7 +40,7 @@ function _logToConsole(func: string, message: string) {
if (!!theConsole) {
let logFunc = "log";
if (theConsole[func]) {
logFunc = "func";
Copy link
Collaborator Author

@MSNev MSNev Oct 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops! This was attempting to "log" to the console using console.func(message) -- doh!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants