Dancer::Logger::File(3pm)

Dancer::Logger::File3pm

File-based logging engine for dancer

Version

version 1.3521

Overview

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

Methods

init

This method is called when "->new()" is called. It initializes the log directory, creates if it doesn't already exist and opens the designated log file.

logdir

Returns the log directory, decided by "logs" either in "appdir" setting. It's also possible to specify a logs directory with the log_path option.

  setting log_path => $dir;

_log

Writes the log message to the file.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

Author

Dancer Core Developers

From libdancer-perl 1.3521+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.