Formatter

NAME

Apache::LogFormat::Formatter - Creates Log Lines

SYNOPSIS

use Apache::LogFormat::Formatter;
  my $fmt = Apache::LogFormat::Formatter.new(sub(%env, @res, $length, $reqtime, $time) {
    ...
  });
  my $line = $fmt.format(%env, @res, $length, $reqtime, $time);
  $*ERR.print($line);

DESCRIPTION

Apache::LogFormat::Formatter creates strings out of bunch of data. You usually do not have to create one yourself, as it will be created by Apache::LogFormat::Compiler.

AUTHOR

Daisuke Maki <[email protected]>

COPYRIGHT AND LICENSE

Copyright 2015 Daisuke Maki

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.