Skip to content

Commit

Permalink
Merge pull request #30 from Tyrsson/default-separator-correction
Browse files Browse the repository at this point in the history
Fixes the default separator for array fields in the database writer
  • Loading branch information
froschdesign authored Apr 29, 2022
2 parents 91964dd + 2700b3c commit c46d9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/writers.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ message, in the database fields date, type, and event, respectively.
`Laminas\Log\Writer\Db` has a fourth optional parameter in the constructor. This
parameter is the character separator for array fields in the log event. For
instance, if we have a log event that contains the field `extra`, and that field
is an array, its elements will be translated as 'extra-field', where '-' is the
is an array, its elements will be translated as `extra_field`, where '_' is the
character separator (default), and 'field' is the subname of the specific field
found in the `extra` array.

Expand Down

0 comments on commit c46d9eb

Please sign in to comment.