Bug 234778 - Console message functions need consistent terminology
Summary: Console message functions need consistent terminology
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-01 01:46 PST by Darin Adler
Modified: 2022-01-08 01:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2022-01-01 01:46:44 PST
Here are the names of functions to put messages in the JavaScript console that I have found:

addConsoleMessage
addMessage
convertToExceptionAndLog
logConsolePersistencyError
logError
logExceptionToConsole
logMockScrollbarsControllerMessage
logSecurityError
printErrorMessage
printToConsole
reportMessage

Note that some of them "add" the messages, some "log" them, some "print" them, and some "report" them. But they are all doing the same thing and so should use the same verb I think.
Comment 1 Darin Adler 2022-01-01 01:47:27 PST
Also, some mention the console, but the ones that say "log" mostly don’t mention the console.
Comment 2 Radar WebKit Bug Importer 2022-01-08 01:47:18 PST
<rdar://problem/87289551>