Package simpleloglib

Interface Layout


public interface Layout
Layouts are used to format events before they are pushed to the output. In some cases this format is useless becouse the target is a database, so the event will be save in a table with many columns, one for each event field the user wants to log persist. Layout are intended to build a string with the event information, not just the message.
Author:
lunalobos
  • Method Summary

    Modifier and Type
    Method
    Description
    format(Event event)
    Format the event.
  • Method Details

    • format

      String format(Event event)
      Format the event.
      Parameters:
      event -
      Returns:
      the formatted string