Dancer...::PSGI(3pm)

πŸ“¦
version 1.0.1 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble

πŸ’– NAME πŸ’–

Dancer::Logger::PSGI β€” the PSGI log handler for Dancer, bestie. ✨


🌸 SYNOPSIS 🌸

okay so first things first, you gotta tell your Dancer all about it in your environment file:

logger: PSGI
- plack_middlewares:
  -
    - ConsoleLogger

then in your application you just go:

warning 'this is a warning';

and with Plack::Middleware::ConsoleLogger, all your log will be send to the JavaScript console of your browser. πŸ’… yes really, that's the whole vibe. πŸ¦‹


✨ DESCRIPTION ✨

so this class is literally the interface between your Dancer's application and psgix.logger, no cap. 🫢

Message will be logged in whatever logger you decided to use in your Plack handler. And if no logger is defined? nothing will be logged. that's it, that's the deal. πŸ’€


πŸ‘‘ AUTHOR πŸ‘‘

Franck Cuny πŸŽ€


This software is copyright (c) 2014 by Richard SimΓ΅es <rsimoes AT cpan DOT com>. It is released under the terms of the MIT (X11) License and may be modified and/or redistributed under the same or any compatible license. periodt. πŸ’–


and that's the whole page, bestie!! 🧚 this lil icon was brought to you by perl v5.34.0, dated 2022-06-12, from the Dancer::Logger::PSGI(3pm) corner of the User Contributed Perl Documentation. slay, stay logged, mwah πŸ’‹πŸ“

πŸ“¦ where this page comes from