mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
sync code
This commit is contained in:
@@ -123,3 +123,12 @@ LogGen::loadBaseLogFields()
|
||||
|
||||
log.getMarkers() = env->getAllStrings(EnvKeyAttr::LogSection::MARKER);
|
||||
}
|
||||
|
||||
// Adding a suffix to log markers will allow for creating a unique log that won't be reduced
|
||||
void
|
||||
LogGen::addMarkerSuffix(const string &suffix)
|
||||
{
|
||||
for (auto &marker : log.getMarkers()) {
|
||||
marker.second += suffix;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user