NAME
Stencil::Log
ABSTRACT
Represents a Stencil log file
SYNOPSIS
use Stencil::Log;
use Stencil::Repo;
my $repo = Stencil::Repo->new;
$repo->store('logs')->mkpath;
my $log = Stencil::Log->new(repo => $repo);
DESCRIPTION
This package provides a class which represents a Stencil log file.
LIBRARIES
This package uses type constraints from:
ATTRIBUTES
This package has the following attributes:
file
file(Object)
This attribute is read-only, accepts (Object)
values, and is optional.
handler
handler(InstanceOf["FlightRecorder"])
This attribute is read-only, accepts (InstanceOf["FlightRecorder"])
values, and is optional.
repo
repo(Object)
This attribute is read-only, accepts (Object)
values, and is required.
METHODS
This package implements the following methods:
debug
debug(Str @args) : Any
The debug method proxies to "debug" in FlightRecorder via the handler
attribute.
fatal
fatal(Str @args) : Any
The fatal method proxies to "fatal" in FlightRecorder via the handler
attribute.
info
info(Str @args) : Any
The info method proxies to "info" in FlightRecorder via the handler
attribute.
output
output() : Str
The output method proxies to "output" in FlightRecorder via the handler
attribute.
warn
warn(Str @args) : Any
The warn method proxies to "warn" in FlightRecorder the handler
attribute.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".