E.7 PrefixLines
Prev | Appendix E. Core filters | Next

## E.7 PrefixLines

This filter adds a prefix to every line. The following example will add the string `foo:` in front of every line.

    <filterchain>
      <prefixlines prefix="foo: " />
    </filterchain>

Table E.5: Attributes for the `<prefixlines>` tag

Name | Type | Description | Default | Required
--- | --- | --- | --- | ---
`prefix` | `String` | String to prepend to every line. | n/a | Yes

Prev | Up | Next
E.6 LineContainsRegexp | Home | E.8 ReplaceTokens