We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Writer& Writer::construct(int count, const char* loggerIds, ...) { if (ELPP->hasFlag(LoggingFlag::MultiLoggerSupport)) { va_list loggersList; va_start(loggersList, loggerIds); const char* id = loggerIds; for (int i = 0; i < count; ++i) { m_loggerIds.push_back(std::string(id));
We can reserve space before pushing to speed up things. So just after const char* id = loggerIds; add m_loggerIds.reserve(count);
const char* id = loggerIds;
m_loggerIds.reserve(count);
Provide interface for reserving space for custom format specifier so last line in this snippet could be sped up
void Storage::installCustomFormatSpecifier(const CustomFormatSpecifier& customFormatSpecifier) { if (hasCustomFormatSpecifier(customFormatSpecifier.formatSpecifier())) { return; } base::threading::ScopedLock scopedLock(lock()); m_customFormatSpecifiers.push_back(customFormatSpecifier);
The text was updated successfully, but these errors were encountered:
closes #606 for Writer
c6effe2
b218fd3
No branches or pull requests
1
We can reserve space before pushing to speed up things. So just after
const char* id = loggerIds;
addm_loggerIds.reserve(count);
2
Provide interface for reserving space for custom format specifier so last line in this snippet could be sped up
The text was updated successfully, but these errors were encountered: