module ReVIEW

Copyright © 2009-2020 Minero Aoki, Kenshi Muto

2002-2008 Minero Aoki

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2007-2020 Minero Aoki, Kenshi Muto

2002-2007 Minero Aoki

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1.

content.rb – Content object for EPUBMaker.

Copyright © 2010-2020 Kenshi Muto

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2010-2018 Kenshi Muto and Masayoshi Takahashi

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2007-2017 Minero Aoki, Kenshi Muto

2002-2007 Minero Aoki

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2017 Minero Aoki, Kenshi Muto

2002-2006 Minero Aoki

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2009-2019 Minero Aoki, Kenshi Muto, Masayoshi Takahashi Copyright © 2002-2007 Minero Aoki

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1.

Copyright © 2010-2021 Minero Aoki, Kenshi Muto

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2010-2021 Minero Aoki, Kenshi Muto

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1. For details of the GNU LGPL, see the file “COPYING”.

Copyright © 2008-2017 Minero Aoki, Kenshi Muto, Masayoshi Takahashi,

KADO Masanori

This program is free software. You can distribute or modify this program under the terms of the GNU LGPL, Lesser General Public License version 2.1.

Constants

VERSION

Public Class Methods

logger(level: 'info') click to toggle source
# File lib/review/logger.rb, line 78
def self.logger(level: 'info')
  @logger ||= if const_defined?(:TTYLogger)
                TTYLogger.new do |config|
                  config.level = level.to_sym
                  config.handlers = [
                    [:console,
                     {
                       styles: {
                         debug: { label: 'DEBUG' },
                         info: { label: 'INFO', color: :magenta },
                         success: { label: 'SUCCESS' },
                         wait: { label: 'WAIT' },
                         warn: { label: 'WARN' },
                         error: { label: 'ERROR' },
                         fatal: { label: 'FATAL' }
                       }
                     }]
                  ]
                end
              else
                ReVIEW::Logger.new($stderr, progname: File.basename($PROGRAM_NAME, '.*'))
              end
end
logger=(logger) click to toggle source
# File lib/review/logger.rb, line 102
def self.logger=(logger)
  @logger = logger
end