1Dancer::Logger::File(3)User Contributed Perl DocumentatioDnancer::Logger::File(3)
2
3
4
6 Dancer::Logger::File - file-based logging engine for Dancer
7
9 version 1.3513
10
13 This is a file-based logging engine that allows you to save your logs
14 to files on disk.
15
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
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.36.0 2022-07-22 Dancer::Logger::File(3)