PTLog API - 1.0

jp.ne.dti.lares.foozy.ptlog.format
Interface TraceFormatter

All Known Subinterfaces:
UniversalFormatter
All Known Implementing Classes:
DefaultTraceFormatter, DefaultUniversalFormatter

public interface TraceFormatter

Abstraction to format trace information.


Method Summary
 java.lang.String enter(java.lang.String subject, java.lang.String method)
          Format "enter" information.
 java.lang.String exit(java.lang.String subject, java.lang.String method)
          Format "exit" information.
 java.lang.String pass(java.lang.String subject, java.lang.String method, java.lang.String checkpoint)
          Format "pass" information.
 

Method Detail

enter

public java.lang.String enter(java.lang.String subject,
                              java.lang.String method)
Format "enter" information.

Parameters:
subject - of logging request.
method - from which logging is requested.
See Also:
Log.enter()

exit

public java.lang.String exit(java.lang.String subject,
                             java.lang.String method)
Format "exit" information.

Parameters:
subject - of logging request.
method - from which logging is requested.
See Also:
Log.exit()

pass

public java.lang.String pass(java.lang.String subject,
                             java.lang.String method,
                             java.lang.String checkpoint)
Format "pass" information.

Parameters:
subject - of logging request.
method - from which logging is requested.
checkpoint - to pass
See Also:
Log.pass(java.lang.String)

PTLog API - 1.0