Class LoggerService

  • All Implemented Interfaces:
    FluentLogger

    public final class LoggerService
    extends Object
    implements FluentLogger
    Implements FluentLogger
    Author:
    Pedro T. Oliveira
    • Method Detail

      • init

        public static FluentLogger init​(Class<?> clazz)
        Initialize a new Fluent Logger based on a class
        Parameters:
        clazz - a Class to be attached to the Logger
        Returns:
        FluentLogger instance
      • by

        public static FluentLogger by​(Class<?> clazz)
        Initialize a new Fluent Logger based on a class
        Parameters:
        clazz - a Class to be attached to the Logger
        Returns:
        FluentLogger instance
      • file

        public FileLogger file()
        Description copied from interface: FluentLogger
        Invoke File Logger Operations
        Specified by:
        file in interface FluentLogger
        Returns:
        File Logger Message Builder