Class StackTraceLogger

java.lang.Object
gov.nasa.jpl.aerie.scheduler.solver.stn.StackTraceLogger

public final class StackTraceLogger extends Object
Small helper class for logging an exception's stack trace.
  • Constructor Details

    • StackTraceLogger

      public StackTraceLogger()
  • Method Details

    • log

      public static void log(Exception e, org.slf4j.Logger l)
      Logs an exception's stack trace at the error level.
      Parameters:
      e - Exception to log
      l - Logger to use