From a78cff1eb2da74104f1e2625c3a28686ca1edb73 Mon Sep 17 00:00:00 2001 From: Gabor Guzmics Date: Wed, 24 May 2017 13:31:38 +0200 Subject: [PATCH] =?UTF-8?q?increasing=20to=20=E2=98=95=20=E2=98=95=20?= =?UTF-8?q?=E2=98=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scon/logs/readme.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/scon/logs/readme.rst b/src/scon/logs/readme.rst index feb6fec..11f320b 100644 --- a/src/scon/logs/readme.rst +++ b/src/scon/logs/readme.rst @@ -7,13 +7,14 @@ It defines classes for opening logfiles from zips, directories, or as a stream, The Parsing Mechanism --------------------- In this example, parsing complete files: -* ``LogSessionCollector`` is a helper class to build sessions from a directory containing many log-directories, i call sessions. -* ``Session`` represents a container which hold logfiles from the same directory. + +* The ``LogSessionCollector`` is a helper class to build sessions from a directory containing many log-directories, i call sessions. +* The ``Session`` represents a container which hold logfiles from the same directory. - it can open zipped logs aswell as directories - it has a parse_files method which initiates first pass parsing for the given filenames in the package. - only 'game.log', 'combat.log' and 'chat.log' are supported for now as session.game_log, session.combat_log and session.chat_log. - you are able to parse just a subset of those files, e.g. first only game log, later combat or chat. -* ``Logfile`` class directly has 'lines' property holding all the 'lines from the log'. Each kind of logfile has its own subclass in logfiles. +* The ``Logfile`` class directly has 'lines' property holding all the 'lines from the log'. Each kind of logfile has its own subclass in logfiles. * this ``lines`` list is converted from a string list to dictionaries, containing 'log', 'logtype', and split timestamp data in the first parsing. As you might know, this is the same for all logs in SC * these dicts are scanned by the class factories and replaced with class based representations of the log packet, coming from their submodule.