encoding: UTF-8
begin¶ ↑
/***************************************************************************
* ©2013 - 2016 Michael Uplawski <michael.uplawski@uplawski.eu> * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/
A simplified logger configuration. Set the level for each individual logger below. Choose a different log-device or log-file if you like. Keep the formatting intact. Do not change other sections of this file.
end¶ ↑
# Do not touch from here —–> require 'logger'
debug = Logger::DEBUG info = Logger::INFO error = Logger::ERROR fatal = Logger::FATAL warn = Logger::WARN unknown = Logger::UNKNOWN { # <—————- to here !
# Enter your settings here, but take into consideration that not all # the named classes will really produce readable output. Well, you can # always try… Either name just the log-level or make the log-level # precede the output-device or output-file like in the examples.
# Example: naming a log-file # # :HtmlBuilder => [info, 'C:temphtmlbuilder.log'], # # :HtmlBuilder => [debug, '/tmp/htmlbuilder.log'],
:DownloadProgress => debug, :Download => info, :DownloadHistory => info, :Network=> info, :Rget => info
# And ignore the remainder, too. } eof