WebLogic Integration


com.bea.eci.logging
Class UserLog

java.lang.Object
  |
  +--com.bea.eci.logging.UserLog

public class UserLog
extends java.lang.Object

The UserLog class represents a user log that is used for writing to the log. Log file entries have a tag.

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

Field Summary
static java.io.PrintStream out
          Out is a PrintStream where every line is written to the UserLog.
 
Method Summary
static void log(int severity, java.lang.String userMsg)
          Writes a message to the log with the specified severity.
static void log(java.lang.String userMsg)
          Writes a message to the log with the Log.INFO severity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

public static java.io.PrintStream out
Out is a PrintStream where every line is written to the UserLog. It is typically used for stack traces
Method Detail

log

public static void log(int severity,
                       java.lang.String userMsg)
Writes a message to the log with the specified severity.

Parameters:
severity - Severity level.
userMsg - Message text to log.
See Also:
Log, Log.FATAL, Log.ERROR, Log.WARNING, Log.INFO

log

public static void log(java.lang.String userMsg)
Writes a message to the log with the Log.INFO severity.

Parameters:
userMsg - Message text to log.
See Also:
Log.INFO

WebLogic Integration

WebLogic Integration (WLI)