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

NAME
Dancer::Object::Singleton - Singleton base class for Dancer SYNOPSIS
package My::Dancer::Extension; use strict; use warnings; use base 'Dancer::Object::Singleton'; __PACKAGE__->attributes( qw/name value this that/ ); sub init { my ($class, $instance) = @_; # our initialization code, if we need one } # .. later on .. # returns the unique instance my $singleton_intance = My::Dancer::Extension->instance(); DESCRIPTION
Dancer::Object::Singleton is meantto be used instead of Dancer::Object, if you want your object to be a singleton, that is, a class that has only one instance in the application. It provides you with attributes and an initializer. METHODS
instance Returns the instance of the singleton. The instance is created only when needed. The creation will call the "init()" method, which you should implement. init Exists but does nothing. This is so you won't have to write an initializer if you don't want to. init receives the instance as argument. get_attributes Get the attributes of the specific class. attributes Generates attributes for whatever object is extending Dancer::Object and saves them in an internal hashref so they can be later fetched using "get_attributes". AUTHOR
Damien Krotkine LICENSE AND COPYRIGHT
Copyright 2010 Damien Krotkine. 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::Object::Singleton(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