/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
/** * Writes the log entry to the log using the specified depth. A depth value of 0 * indicates that the log entry is the root entry. Any value greater than 0 indicates * a sub-entry. * @param depth the depth of th entry * @param entry the entry to log * @throws IOException if any error occurs writing to the log */ private void writeLog(int depth, FrameworkLogEntry entry) throws IOException { writeEntry(depth, entry); writeMessage(entry); writeStack(entry); FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { for (int i = 0; i < children.length; i++) { writeLog(depth + 1, children[i]); } } }
private static IStatus convertToStatus(FrameworkLogEntry entry) { FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { IStatus[] statusChildren = new Status[children.length]; for (int i = 0; i < statusChildren.length; i++) statusChildren[i] = convertToStatus(children[i]); return new MultiStatus(entry.getEntry(), entry.getBundleCode(), statusChildren, entry.getMessage(), entry.getThrowable()); } return new Status(entry.getSeverity(), entry.getEntry(), entry.getBundleCode(), entry.getMessage(), entry.getThrowable()); }
private static IStatus convertToStatus(FrameworkLogEntry entry) { FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { IStatus[] statusChildren = new Status[children.length]; for (int i = 0; i < statusChildren.length; i++) statusChildren[i] = convertToStatus(children[i]); return new MultiStatus(entry.getEntry(), entry.getBundleCode(), statusChildren, entry.getMessage(), entry.getThrowable()); } return new Status(entry.getSeverity(), entry.getEntry(), entry.getBundleCode(), entry.getMessage(), entry.getThrowable()); }
private static IStatus convertToStatus(FrameworkLogEntry entry) { FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { IStatus[] statusChildren = new Status[children.length]; for (int i = 0; i < statusChildren.length; i++) statusChildren[i] = convertToStatus(children[i]); return new MultiStatus(entry.getEntry(), entry.getBundleCode(), statusChildren, entry.getMessage(), entry.getThrowable()); } return new Status(entry.getSeverity(), entry.getEntry(), entry.getBundleCode(), entry.getMessage(), entry.getThrowable()); }
private static IStatus convertToStatus(FrameworkLogEntry entry) { FrameworkLogEntry[] children = entry.getChildren(); if (children != null) { IStatus[] statusChildren = new Status[children.length]; for (int i = 0; i < statusChildren.length; i++) statusChildren[i] = convertToStatus(children[i]); return new MultiStatus(entry.getEntry(), entry.getBundleCode(), statusChildren, entry.getMessage(), entry.getThrowable()); } return new Status(entry.getSeverity(), entry.getEntry(), entry.getBundleCode(), entry.getMessage(), entry.getThrowable()); }