1Dancer::Logger::File(3)User Contributed Perl DocumentatioDnancer::Logger::File(3)
2
3
4

NAME

6       Dancer::Logger::File - file-based logging engine for Dancer
7

VERSION

9       version 1.3400
10

SYNOPSIS

DESCRIPTION

13       This is a file-based logging engine that allows you to save your logs
14       to files on disk.
15

METHODS

17   init
18       This method is called when "->new()" is called. It initializes the log
19       directory, creates if it doesn't already exist and opens the designated
20       log file.
21
22   logdir
23       Returns the log directory, decided by "logs" either in "appdir"
24       setting.  It's also possible to specify a logs directory with the
25       log_path option.
26
27         setting log_path => $dir;
28
29   _log
30       Writes the log message to the file.
31

AUTHOR

33       Dancer Core Developers
34
36       This software is copyright (c) 2010 by Alexis Sukrieh.
37
38       This is free software; you can redistribute it and/or modify it under
39       the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.28.0                      2018-06-15           Dancer::Logger::File(3)
Impressum