-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Rename the ILogger
interface to Logger
#1675
Comments
According to issue #624, should it be LoggerImpl ? |
You mean, the implementation; yes. |
I agree |
I'm not sure if renaming |
as public API using At the beginning, we thought that |
@akosyakov that leaves the question how to filter log output, though. What's the story there when using console.trace, etc? |
You can call |
So console.log is redirected to rootLogger.log, which again goes to the console? Anyway...still not reason not to use ILogger, it allows to turn on/off logging per named log, not globally. |
If someone logs in the browser content, the root logger ensures that all logs end up on the backend, not only in the browser console. By default, yes, they are forwarded to the backend console. End products can overwrite it and integrate with own logging infrastructure. For example, Gitpod wraps logs in JSON structures and forward them to Google Stackdriver for analysis.
One can do it when necessary. Theia coding guidelines are not something to copy for end products. Also within Theia for child logging using
It is not the same. In Java |
Rename the
ILogger
interface toLogger
, so that it is aligned with ourCoding Guidelines
. Nothing more.The text was updated successfully, but these errors were encountered: