![]() |
![]()
| ![]() |
![]()
NAMEDancer::Logger::Abstract - Abstract logging engine for Dancer VERSIONversion 1.3520 SYNOPSISIn 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] DESCRIPTIONThis is an abstract logging engine that provides loggers with basic functionality and some sanity checking. CONFIGURATIONlogger_formatThis is a format string (or a preset name) to specify the log format. The possible values are:
There is currently a single preset log format:
METHODSformat_messageProvides a common message formatting. coreLogs messages as core. debugLogs messages as debug. warningLogs messages as warning. errorLogs messages as error. infoLogs messages as info. _logA method to override. If your logger does not provide this, it will cause the application to die. _shouldChecks a certain level number against a certain level type (core, debug, info warning, error). AUTHORDancer Core Developers COPYRIGHT AND LICENSEThis software is copyright (c) 2010 by Alexis Sukrieh. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|