/** * Log exception stack trace to specified path/file. Note this is a last ditch logging effort for use-cases * where logging to System.err/out or other means fails. */ public static void log( String path, Throwable t ) { log( path, t, false ); } public static void log( String path, Throwable t, boolean append )
/** * Log debug message to specified path/file. Note this is a last ditch logging effort for use-cases * where logging to System.err/out or other means fails. */ public static void log( String path, String msg ) { log( path, msg, false ); } public static void log( String path, String msg, boolean append )