DebugUtils

public class DebugUtils

Utilities helping with debugging.

Author:pipek

Methods

logWithDuration

public static void logWithDuration(String message)

Print a message alongside with the number of nanoseconds since last call of this method.

Parameters:
  • message – Message to log

logWithDuration

public static void logWithDuration(String message, Logger logger)

Print a message alongside with the number of nanoseconds since last call of this method.

Parameters:
  • message – Message to log
  • logger – Logger to use