/** * Prints stack trace of the current thread to {@code System.out}. * * @param msg Message to print with the stack. * * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void dumpStack(String msg) { new Exception(debugPrefix() + msg).printStackTrace(System.err); }
/** * This method should be used for adding quick debug statements in code * while debugging. Calls to this method should never be committed to master. * * @param msg Message to debug. * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debugx(String msg) { X.printerrln(debugPrefix() + msg); }
/** * This method should be used for adding quick debug statements in code * while debugging. Calls to this method should never be committed to master. * * @param msg Message to debug. * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debug(Object msg) { X.error(debugPrefix() + msg); }
/** * Prints stack trace of the current thread to provided logger. * * @param log Logger. * @param msg Message to print with the stack. * * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debugStack(IgniteLogger log, String msg) { log.error(msg, new Exception(debugPrefix() + msg)); }
/** * Prints stack trace of the current thread to {@code System.out}. * * @param msg Message to print with the stack. * * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void dumpStack(String msg) { new Exception(debugPrefix() + msg).printStackTrace(System.err); }
/** * Prints stack trace of the current thread to provided logger. * * @param log Logger. * @param msg Message to print with the stack. * * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debugStack(IgniteLogger log, String msg) { log.error(msg, new Exception(debugPrefix() + msg)); }
/** * This method should be used for adding quick debug statements in code * while debugging. Calls to this method should never be committed to master. * * @param msg Message to debug. * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debug(Object msg) { X.error(debugPrefix() + msg); }
/** * This method should be used for adding quick debug statements in code * while debugging. Calls to this method should never be committed to master. * * @param msg Message to debug. * @deprecated Calls to this method should never be committed to master. */ @Deprecated public static void debugx(String msg) { X.printerrln(debugPrefix() + msg); }