com.perforce.p4java
Class Tracer

java.lang.Object
  extended by com.perforce.p4java.Tracer

public class Tracer
extends 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
Tracer()
           
 
Method Summary
static void all(String msg)
           
static void coarse(String msg)
           
static void fine(String msg)
           
static boolean isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel)
           
static void superfine(String msg)
           
static void trace(ILogCallback.LogTraceLevel traceLevel, String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tracer

public Tracer()
Method Detail

trace

public static void trace(ILogCallback.LogTraceLevel traceLevel,
                         String msg)

all

public static void all(String msg)

superfine

public static void superfine(String msg)

fine

public static void fine(String msg)

coarse

public static void coarse(String msg)

isTracingAtLevel

public static boolean isTracingAtLevel(ILogCallback.LogTraceLevel traceLevel)


Copyright © 2015 Perforce Software. All Rights Reserved.