Module: Log2COUNTER

Extended by:
Log2COUNTER
Included in:
Log2COUNTER
Defined in:
lib/log2counter.rb,
lib/log2counter.rb,
lib/log2counter/version.rb

Overview

#

log2counter – Convert (analyse) Apache log files to COUNTER CSV. #

#

Copyright © 2007-2009 University of Cologne, #

Albertus-Magnus-Platz,                              #
50932 Cologne, Germany                              #
                                                    #

Authors: #

Jens Wille <[email protected]>                                    #
                                                                        #

log2counter 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. #

#

log2counter 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 log2counter. If not, see <www.gnu.org/licenses/>. #

#

++

Defined Under Namespace

Modules: Version Classes: Parser, Printer

Constant Summary collapse

VERSION =
Version.to_s

Instance Method Summary collapse

Instance Method Details

#load(*args) ⇒ Object



41
42
43
# File 'lib/log2counter.rb', line 41

def load(*args)
  Parser.load(*args)
end

#parse(*args) ⇒ Object



45
46
47
# File 'lib/log2counter.rb', line 45

def parse(*args)
  Parser.new(*args).parse
end


49
50
51
# File 'lib/log2counter.rb', line 49

def print(stats, *args)
  Printer.new(*args).print(stats)
end