NAME

XAS::Lib::Modules::Log::File - A mixin class for logging

DESCRIPTION

This module is a mixin for logging. It logs to a file.

METHODS

init_log

This method initializes the module. It uses the file specified with the -filename parameter. It checks to make sure it exists, if it doesn't it creates the file. On a Unix like system, it will change the file permissions to rx-rx-r.

output($hashref)

The method formats the hashref and writes out the results.

destroy

This methods deinitializes the module.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (C) 2014 Kevin L. Esteb

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

See http://dev.perl.org/licenses/ for more information.