Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-28 15:37:07 -0400
committerRyan D. Brooks2010-09-28 15:37:07 -0400
commit5421a31419268921bd9d9a8f1dc256e7cce03ae4 (patch)
treebcc08ae4d0e8a0ffb23b88f3782536e87ff1f37f
parentb1da6f32c0a40c55cde2bfd4469e15727d508d58 (diff)
downloadorg.eclipse.osee-5421a31419268921bd9d9a8f1dc256e7cce03ae4.tar.gz
org.eclipse.osee-5421a31419268921bd9d9a8f1dc256e7cce03ae4.tar.xz
org.eclipse.osee-5421a31419268921bd9d9a8f1dc256e7cce03ae4.zip
refactor: Add log with string format to OseeLog
-rw-r--r--plugins/org.eclipse.osee.framework.logging/src/org/eclipse/osee/framework/logging/OseeLog.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.logging/src/org/eclipse/osee/framework/logging/OseeLog.java b/plugins/org.eclipse.osee.framework.logging/src/org/eclipse/osee/framework/logging/OseeLog.java
index a7d0bd4d27..364c854379 100644
--- a/plugins/org.eclipse.osee.framework.logging/src/org/eclipse/osee/framework/logging/OseeLog.java
+++ b/plugins/org.eclipse.osee.framework.logging/src/org/eclipse/osee/framework/logging/OseeLog.java
@@ -55,6 +55,10 @@ public class OseeLog {
getLog().log(activatorClass.getName(), level, message, th);
}
+ public static void log(Class<?> activatorClass, Level level, Throwable th, String message, Object... objects) {
+ format(th, activatorClass, level, message, objects);
+ }
+
public static void format(Class<?> activatorClass, Level level, String message, Object... objects) {
getLog().format(activatorClass.getName(), level, message, objects);
}

Back to the top