Message::Passing::Output::File - File output
Contents
Description
Output messages to File
Methods
append
A boolean attribute for if the output file should be re-created, or appended to. Default true.
filename
An attribute for the file name to write to.
consume
Consumes a message by JSON encoding it and printing it, followed by \n
Name
Message::Passing::Output::File - File output
See Also
Message::Passing
Sponsorship
This module exists due to the wonderful people at Suretec Systems Ltd. <http://www.suretecsystems.com/>
who sponsored its development for its VoIP division called SureVoIP <http://www.surevoip.co.uk/> for use
with the SureVoIP API - <http://www.surevoip.co.uk/support/wiki/api_documentation>
Synopsis
message-pass --input STDIN --output File --output_options '{"filename": "/tmp/my.log"}'
{"foo": "bar"}
{"foo":"bar"}
