balabit/syslog-ng-incubator — pull request #43 by talien (2014-05-28 15:42:32+00:00)
Title: basicfuncs-plus: Added padding template function.

Padding template function extends a string to a specified
width with prepending specified characters. The default
padding character is ' '(space).

For example:
$(padding $MESSAGE 10 X): bar -> XXXXXXXbar
$(padding $MESSAGE 10 foo): bar -> foofoofbar