sevnpy.io.logschema

Logfile Handling, (sevny.io.logschema)

This module contains the class LogSchema that is used to bring at a code-level the SEVN-like log structure and the interface with regex pattern. The SEVN-like log structure is defined as a series of items of different types. The class LogSchema define each item with five attributes:

  • name

  • kind

  • type

  • pattern

  • description

Classes

LogSchema

This class is used to define and handle the structure of a given log file and produce the correspondent matching pattern There are four important keyword used in the class: