Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dancer::logger::psgi(3pm) [debian man page]

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::Logger(3pm)					User Contributed Perl Documentation				       Dancer::Logger(3pm)

NAME
Dancer::Logger - common interface for logging in Dancer DESCRIPTION
This module is the wrapper that provides support for different logger engines. USAGE
Default engine The setting logger defines which logger engine to use. If this setting is not set, logging will not be available in the application code. Dancer comes with the logger engines Dancer::Logger::File and Dancer::Logger::Console, but more are available on the CPAN. Configuration The logger configuration variable tells Dancer which engine to use. You can change it either in your config.yml file: # logging to console logger: "console" Or in the application code: # logging to file set logger => 'file'; The log format can also be configured, please see "logger_format" in Dancer::Logger::Abstract for details. Auto-serializing The loggers allow auto-serializing of all inputs: debug( 'User credentials: ', \%creds ); Will provide you with an output in a single log message of the string and the reference dump. AUTHORS
This module has been written by Alexis Sukrieh. See the AUTHORS file that comes with this distribution for details. LICENSE
This module is free software and is released under the same terms as Perl itself. SEE ALSO
See Dancer for details about the complete framework. You can also search the CPAN for existing engines in the Dancer::Logger namespace : <http://search.cpan.org/search?query=Dancer%3A%3ALogger>. perl v5.14.2 2012-04-01 Dancer::Logger(3pm)
Man Page

10 More Discussions You Might Find Interesting

1. Programming

Programming

Now that I have installed slackware and it's working...I decided to learn programming... Could you recommend language and books... (3 Replies)
Discussion started by: CreamHarry
3 Replies

2. Programming

C programming sessions

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)
Discussion started by: eleia
1 Replies

3. Programming

help required

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)
Discussion started by: ruffenator
1 Replies

4. Programming

Learn C or C++

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)
Discussion started by: c19h28O2
2 Replies

5. UNIX for Advanced & Expert Users

User of the file OR Logger of the file. ?

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)
Discussion started by: varungupta
1 Replies

6. BSD

installing free BSD

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)
Discussion started by: bonjour2006
5 Replies

7. Programming

Help with C programming

good day fellas could someone kindly explain to me how to read the last line from a file using c language ? regards (2 Replies)
Discussion started by: surubi_abada
2 Replies

8. Programming

Efficient logging of time measurements

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)
Discussion started by: tamil.pamaran
14 Replies

9. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

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)
Discussion started by: Rockatansky
2 Replies

10. Programming

Just a short question in Perl

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)
Discussion started by: AIMBOT DC
3 Replies