Class Logs

java.lang.Object
overit.geocall.util.Logs
All Implemented Interfaces:
Serializable, overit.geocall.marks.FieldExposer

public class Logs extends Object implements overit.geocall.marks.FieldExposer, Serializable
This class contains the static costants that define the Log channels. Every application can use these self-explanatory static costant to indicate the Log notifications content.
See Also:
  • Field Details

    • _configuration

      protected static String _configuration
  • Constructor Details

    • Logs

      public Logs()
  • Method Details

    • getLog

      @Deprecated public static Log getLog(String name)
      Deprecated.
      Returns the log of the system
      Parameters:
      name - Not used
      Returns:
      The log of the system
    • getLog

      @Deprecated public static Log getLog()
      Deprecated.
      Returns the log of the system
      Returns:
      The log of the system
    • forClass

      @Deprecated public static LogChannel forClass(Class c)
      Deprecated.
      This method can be called to inizialize and get a LogChannel for the passed class. The recommendation is to use it in static contexts to initialize a local static log channel for the class
      Parameters:
      c - the class for which you are requesting the LogChannel
      Returns:
      LogChannel for c
    • printStackTrace

      @Deprecated public static void printStackTrace(Throwable e)
      Deprecated.
      this exceptions will be untraceable and uncostumizable. Use a custom logger to track exceptions
      Utility method to print the exception stack trace in the error channel. Avoid this method and use a local logger instead
      Parameters:
      e - exception to log.