- collapse
string collapse(string p, int maxLength)
Undocumented in source. Be warned that the author may not have intended to support it.
- cutDown
string cutDown(string s, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
- enforceLength
string enforceLength(string s, int maxLength)
Undocumented in source. Be warned that the author may not have intended to support it.
- format
string format(LogEvent e)
Undocumented in source. Be warned that the author may not have intended to support it.
- mergeBrokenSegments
string[] mergeBrokenSegments(string[] segs)
if p="a.b!(c.d).e", then segments = ["a", "b!(c", "d)", "e"]
this foo turns that back to ["a", "b!(c.d)", "e"]
- normalize
string normalize(string p)
Undocumented in source. Be warned that the author may not have intended to support it.
- normalizeSegments
string[] normalizeSegments(string[] segs)
turn ["a", "b!(x)", "b"] (path "a.b!(x).b") into ["a, "b!(x)"] ("a.b!(x)")
Assumes that input was already fixed with mergeBrokenSegments
- shorten
string shorten(string p)
Undocumented in source. Be warned that the author may not have intended to support it.
- shortenLastSegmentTemplating
string shortenLastSegmentTemplating(string p)
Undocumented in source. Be warned that the author may not have intended to support it.
- shortenSegments
string[] shortenSegments(string[] segs)
Undocumented in source. Be warned that the author may not have intended to support it.
- toLevel
Level toLevel(string s)
Undocumented in source. Be warned that the author may not have intended to support it.