From 22542acc2f7a03a735ae73c49c09252068ebc86d Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Thu, 30 Jan 2014 13:38:30 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 : Migrate I18n and logging support to i18n framework and SLF4J
---
opendj3-server-dev/src/server/org/opends/server/api/DebugLogPublisher.java | 19 +++++++------------
1 files changed, 7 insertions(+), 12 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/api/DebugLogPublisher.java b/opendj3-server-dev/src/server/org/opends/server/api/DebugLogPublisher.java
index da1a4e7..259e49b 100644
--- a/opendj3-server-dev/src/server/org/opends/server/api/DebugLogPublisher.java
+++ b/opendj3-server-dev/src/server/org/opends/server/api/DebugLogPublisher.java
@@ -33,7 +33,7 @@
import org.forgerock.i18n.LocalizableMessage;
import org.opends.server.admin.std.server.DebugLogPublisherCfg;
-import org.opends.server.loggers.debug.TraceSettings;
+import org.opends.server.loggers.TraceSettings;
import org.opends.server.types.DebugLogLevel;
/**
@@ -347,11 +347,8 @@
* @param stackTrace The stack trace at the time the message
* is logged or null if its not available.
*/
- public abstract void traceMessage(TraceSettings settings,
- String signature,
- String sourceLocation,
- String msg,
- StackTraceElement[] stackTrace);
+ public abstract void trace(TraceSettings settings, String signature,
+ String sourceLocation, String msg, StackTraceElement[] stackTrace);
@@ -360,15 +357,13 @@
* @param settings The current trace settings in effect.
* @param signature The method signature.
* @param sourceLocation The location of the method in the source.
- * @param msg TODO
+ * @param msg The message to be logged.
* @param ex The exception that was caught.
* @param stackTrace The stack trace at the time the exception
* is caught or null if its not available.
*/
- public abstract void traceCaught(TraceSettings settings,
- String signature,
- String sourceLocation,
- String msg,
- Throwable ex, StackTraceElement[] stackTrace);
+ public abstract void traceException(TraceSettings settings, String signature,
+ String sourceLocation, String msg, Throwable ex,
+ StackTraceElement[] stackTrace);
}
--
Gitblit v1.10.0