Dancer...::File(3pm)

πŸ’– Dancer::Logger::File πŸ’–

okay bestie, gather round, because this is Dancer::Logger::File β€” a page from the User Contributed Perl Documentation collection, and she's the file-based logging engine for Dancer. yes, the whole entire job: your logs go to actual files on actual disk. iconic. πŸ’…

version 1.3522 β€” that's the vibe, that's the era.


✨ NAME ✨

Dancer::Logger::File β€” file-based logging engine for Dancer πŸ¦‹


🌸 VERSION 🌸

version 1.3522


πŸŽ€ SYNOPSIS πŸŽ€

so… there is literally nothing here. the synopsis section is empty, no cap. she said "read the description, babe." 😭


πŸ’œ DESCRIPTION πŸ’œ

This is a file-based logging engine that allows you to save your logs to files on disk. that's it, that's the whole concept, and honestly? it ate. your logs. in a file. on disk. go off. πŸ”₯


πŸ‘‘ METHODS πŸ‘‘

🫢 init

This method is called when ->new() is called. so like, right at birth. ✨

It initializes the log directory, creates if it doesn't already exist and opens the designated log file. basically she's setting up the whole room before anyone walks in β€” directory check, directory creation if it's not there yet, open the log file, done. main character energy fr fr.

πŸ¦‹ 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.

like, you can just let her pick, or you can hand her the keys yourself:

setting log_path => $dir;

obsessed. πŸ’–

πŸ’€ _log

Writes the log message to the file. short. sweet. does the thing. no notes. 🌟


🌈 AUTHOR 🌈

Dancer Core Developers β€” the collective, the committee, the group chat that raised this module. πŸ’œ


This software is copyright (c) 2010 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

so yes bestie, free as in go ahead, same terms as Perl 5 itself, slay. ✨


just a lil reminder: the SYNOPSIS up top is genuinely empty in the source, so if you were waiting for a code block there, she's not coming. 😭 read the DESCRIPTION instead, iykyk.

and that's the whole page, periodt. πŸ’…

signing off with the receipts: this was rendered by perl v5.40.1 on 2026-05-05, and the page is Dancer...::File(3pm) (yes, the title gets chopped like that in the header, don't come for me). mwah, bye bestie! πŸŽ€πŸ’–πŸ¦‹πŸŒΈπŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from