Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dancer::logger(3pm) [debian 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)

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)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help Please!

Hi First of I got i red hat linux 7.0 running on my computer, when i reboot its says Starting System Logger (failed) and then the loggin window shows up , is anything wrong with it...any sugestion? Second of all i have att broadband and network card (Netgear 311) and i want to... (2 Replies)
Discussion started by: IMOTEB
2 Replies

2. Shell Programming and Scripting

I dont want to know any search engines

I just want to know where I can download it on this website plz (1 Reply)
Discussion started by: memattmyself
1 Replies

3. UNIX for Dummies Questions & Answers

view access logs telenet

Hello one of my sites i host is doing somewhat well in the search engines, and i would like to watch the raw log files while looged in with telenet is there a way to do this. thanx Mike (2 Replies)
Discussion started by: whothought1
2 Replies

4. Shell Programming and Scripting

Logger Command

Hi I have a command in a script . /usr/bin/iostat -E I would like to place an entry in /var/adm/messages (via syslog) as a daemon.notice using the logger command but i just cant work out the syntax for this , do I pipe the output of iostat into logger? or is it redirected...can somebody give me... (1 Reply)
Discussion started by: hcclnoodles
1 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. Cybersecurity

Javascript injection only when referred by search engine.

My website has some weird malware installed in it. When I click on a link from a search engine (google, bing, or even yahoo) my pages get a string of javascript inserted into them. The page can be a simple "Hello World" and it will still inject a line of javascript into the page. Here is a screen... (1 Reply)
Discussion started by: noPermissions
1 Replies

7. Shell Programming and Scripting

Replacing System.out.println with Logger.println in *.java using SED (spanned over multiple lines)

Hi, Can anyone help me out for my below problem. I need to replace all System.out.println with Logger.println in *.java using SED (spanning multiple lines) including current & sub-directories. I tried with below command. But it is not replacing when source text is spanned over multiple... (4 Replies)
Discussion started by: Bhanu Dhulipudi
4 Replies