mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-27 19:59:46 +01:00
formatting
This commit is contained in:
parent
ddd8bf1c5e
commit
0574043643
@ -232,6 +232,7 @@ std::string PatternFormatter::getProperty(const std::string& name) const
|
|||||||
return Formatter::getProperty(name);
|
return Formatter::getProperty(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void PatternFormatter::parsePriorityNames()
|
void PatternFormatter::parsePriorityNames()
|
||||||
{
|
{
|
||||||
StringTokenizer st(_priorityNames, ",;", StringTokenizer::TOK_TRIM);
|
StringTokenizer st(_priorityNames, ",;", StringTokenizer::TOK_TRIM);
|
||||||
@ -245,6 +246,7 @@ void PatternFormatter::parsePriorityNames()
|
|||||||
else throw Poco::SyntaxException("priorityNames property must specify a comma-separated list of 8 property names");
|
else throw Poco::SyntaxException("priorityNames property must specify a comma-separated list of 8 property names");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const std::string& PatternFormatter::getPriorityName(int prio)
|
const std::string& PatternFormatter::getPriorityName(int prio)
|
||||||
{
|
{
|
||||||
poco_assert (1 <= prio && prio <= 8);
|
poco_assert (1 <= prio && prio <= 8);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user