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

NAME
Dancer::Logger::Abstract - Abstract logging engine for Dancer SYNOPSIS
In your configuration file: # default logger_format: simple # [1234] debug @0.12> [hit #123]message from your log in File.pm line 12 # custom logger_format: %m %{%H:%M}t [%{accept_type}h] # message from your log [11:59] [text/html] DESCRIPTION
This is an abstract logging engine that provides loggers with basic functionality and some sanity checking. CONFIGURATION
logger_format This is a format string (or a preset name) to specify the log format. The possible values are: %h host emitting the request %t date (formatted like %d/%b/%Y %H:%M:%S) %P PID %L log level %D timer %m message %f file name that emit the message %l line from the file %i request ID %{$fmt}t timer formatted with a valid time format %{header}h header value There is two preset possible: simple will format the message like: [%P] %L @%D> %m in %f l. %l with_id will format the message like: [%P] %L @%D> [hit #%i] %m in %f l. %l METHODS
format_message Provides a common message formatting. core Logs messages as core. debug Logs messages as debug. warning Logs messages as warning. error Logs messages as error. info Logs messages as info. _log A method to override. If your logger does not provide this, it will cause the application to die. _should Checks a certain level number against a certain level type (core, debug, info warning, error). 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 2012-04-01 Dancer::Logger::Abstract(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

Featured Tech Videos