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
Introduce logging categories #7004
Conversation
390c801
to
2fde0b2
Compare
2fde0b2
to
a10ec31
Compare
a10ec31
to
b652bc1
Compare
static LogCategory /**/ transaction; // Creating, advancing and committing transactions | ||
static LogCategory /**/ query; // Query operations | ||
static LogCategory /**/ object; // Mutations of the database | ||
static LogCategory /**/ notification; // Reporting changes to the database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
storage.notification and all loggers below are not used anywhere. Is something missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will come in a subsequent PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, worth a fixme or todo then
{ | ||
|
||
// FIXME use category |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so how the capi would change to accommodate this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logger function must be able to receive a string indicating the category
What, How & Why?
☑️ ToDos