Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.core
Class LpexLog

java.lang.Object
  extended bycom.ibm.lpex.core.LpexLog


public final class LpexLog
extends Object

Facility to log critical LPEX errors. See also the editorLog parameter.

A main() entry point to delete the editor log file is provided, which can be used to clear outdated logs or when uninstalling the editor:

  java com.ibm.lpex.core.LpexLog delete


Method Summary
static void log(String problem)
          Log a trace/error message.
static void log(Throwable e)
          Log a Throwable (an Exception or an Error).
static void main(String[] args)
          Entry point to delete the editor log file.
static void setName(String name)
          Set the name of the editor log file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

 

 

setName

public static void setName(String name)

Set the name of the editor log file. The default editor log file is "Editor.log", located in the editor user home directory. See also the editorLog parameter.

Parameters:
name - full-path name of the editor log file


 

 

log

public static void log(String problem)

Log a trace/error message.


 

 

log

public static void log(Throwable e)

Log a Throwable (an Exception or an Error).


 

 

main

public static void main(String[] args)

Entry point to delete the editor log file. Can be used to clear outdated logs or when uninstalling the editor. Usage:
  java com.ibm.lpex.core.LpexLog delete


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD