AnyEvent-Multilog
view release on metacpan or search on metacpan
lib/AnyEvent/Multilog.pm view on Meta::CPAN
isa => File,
predicate => 'has_multilog_path',
coerce => 1,
documentation => q{path to multilog, if you don't want to use $PATH},
);
has 'script' => (
is => 'ro',
isa => 'ArrayRef[Str]',
required => 1,
documentation => 'multilog "script", not escaped for the shell',
);
has '_job' => (
init_arg => undef,
reader => '_job',
lazy => 1,
builder => '_build_job',
);
has 'job_args' => (
lib/AnyEvent/Multilog.pm view on Meta::CPAN
=head1 ATTRIBUTES
=head2 script
Required.
This is an ArrayRef representing the multilog script that describes
how to log. See the L<multilog|multilog man page> for more
information on what this script is and how to write one.
Note that the shell is never invoked, so you don't need to escape
anything from the shell.
To select all lines, add a tai64n timestamp, and log to a directory
called "log", your script should be C<['t', '+*', './log']>.
=head2 multilog
Optional.
The path to the multilog binary. By default, checks C<$PATH> and uses
( run in 0.317 second using v1.01-cache-2.11-cpan-c21f80fb71c )