Package com.perforce.p4java
Class Tracer
- java.lang.Object
-
- com.perforce.p4java.Tracer
-
public class Tracer extends java.lang.Object
Simple P4Java tracer class based on the Log trace callback interface. Useful for tracing and debugging from within P4Java; probably not of interest to most end-users.Not especially thread-safe, nor recommended for real debugging.
Note that in general, GA releases disable internal traces, and this class is not actively used in those releases.
-
-
Constructor Summary
Constructors Constructor Description Tracer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
all(java.lang.String msg)
static void
coarse(java.lang.String msg)
static void
fine(java.lang.String msg)
static boolean
isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel)
static void
superfine(java.lang.String msg)
static void
trace(ILogCallback.LogTraceLevel traceLevel, java.lang.String msg)
-
-
-
Method Detail
-
trace
public static void trace(ILogCallback.LogTraceLevel traceLevel, java.lang.String msg)
-
all
public static void all(java.lang.String msg)
-
superfine
public static void superfine(java.lang.String msg)
-
fine
public static void fine(java.lang.String msg)
-
coarse
public static void coarse(java.lang.String msg)
-
isTracingAtLevel
public static boolean isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel)
-
-