Dancer::Logger::PSGI(3pm) User Contributed Perl Documentation Dancer::Logger::PSGI(3pm)NAME
Dancer::Logger::PSGI - PSGI Log handler for Dancer
VERSION
version 0.04
SYNOPSIS
In your Dancer's environment file:
logger: PSGI
- plack_middlewares:
-
- ConsoleLogger
In your application
warning "this is a warning"
With Plack::Middleware::ConsoleLogger, all your log will be send to the JavaScript console of your browser.
DESCRIPTION
This class is an interface between your Dancer's application and psgix.logger. Message will be logged in whatever logger you decided to use
in your Plack handler. If no logger is defined, nothing will be logged.
AUTHOR
franck cuny <franck@lumberjaph.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by franck cuny.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
AUTHOR
franck cuny <franck@lumberjaph.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by franck cuny.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-07 Dancer::Logger::PSGI(3pm)
Check Out this Related Man Page
Dancer::Engine(3pm) User Contributed Perl Documentation Dancer::Engine(3pm)NAME
Dancer::Engine - base class for Dancer engines
SYNOPSIS
my $engine = Dancer::Engine->build( Serializer => 'JSON', $configuration );
DESCRIPTION
Dancer has various engines such Serializer engines, Template engines, Logger engines and Session handlers engines. This is the base class
for all Dancer engines.
If you're writing an engine of a common type (such as those mentioned above), you probably want to simply use their base class, which in
turn use Dancer::Engine. For example, Template engines inherit from Dancer::Template::Abstract and Serializer engines inherit from
Dancer::Serializer::Abstract. Those Abstract base classes inherit from Dancer::Engine.
If a new type of Dancer engine is created, it is best it inherits from this class.
ATTRIBUTES
name
The name of the engine, such as JSON, or Simple.
type
The type of the engine, such as Serializer, or Session.
METHODS /SUBROUTINES
config
Fetches the configuration of the engine.
my $configuration = $engine->config;
You can only set the configuration at initialization time, not after.
build
Builds and returns the engine.
my $engine = Dancer::Engine->build( $type => $name, $config );
AUTHOR
Alexis Sukrieh
LICENSE AND COPYRIGHT
Copyright 2009-2010 Alexis Sukrieh.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
perl v5.14.2 2011-11-30 Dancer::Engine(3pm)
Hey guys, i'm in trouble, i'm high school teacher, and a student ask me for help, he want's to know where he can study C language for his application exam. Somebody could help us? (1 Reply)
hi i am new to c programming and found this on the net could someone tell me what it actually does, many thanks in advance cheers
#include <fcntl.h>
main()
{
int fd;
fd = open("in1", O_RDONLY);
printf("%d\n", fd);
}
and this too please
#include <fcntl.h>
main()
{
int... (1 Reply)
Hi,
Apologies if this question has been asked before.
I would like to know which language is better to learn in terms of programming in unix? is C dying out and being replaced by C++ or is it a combination of the 2 or just mainly C?
Thanks
C19 (2 Replies)
How could I get the name of user of a file in a file path ?
OR
Who i accessing the particular file in a file path ?
Any Idea ??
Please help !!
Thanks :) (1 Reply)
Hello friends. I am new to Unix although i am very flexible to any programming language. i was a window user. Now, no more. I have decided myself to switch to unix.
Here is my problem:
I burned the free BSD into my new RW CD's. I inserted the bootable manager first then, it was scanning and... (5 Replies)
Hi all,
I am working on a software, which was developed using C programming on unix environment. I have added certain functionality to the software.
Now, I interested in measuring time taken by new functionality (Mean value of huge amount of tests). Since new function will be part of many... (14 Replies)
Hello.
I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations:
1. Linux and iOS are UNIX-like systems, POSIX compliant.
2. It is useful to know C language... (2 Replies)
Greetings there foreign forum visitors. I am completely new to programming, in fact i have only started today, but i am a fast learner. I decided to undertake Perl and i wrote a simple program that has 2 main loops , each of which are supposed to take an input value number from the user, and check... (3 Replies)