All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class nsjava.NsLog

java.lang.Object
   |
   +----nsjava.NsLog

public class NsLog
extends Object

NsLog provides a java wrapper around the aolserver Ns_ModLog command. By default all output shows up in the log file as 'nsjava' entries.

See Also:
NsDb, NsPg, NsSet, NsTcl

Constructor Index

 o NsLog()
Create a logging connection.

Method Index

 o write(String, String)
Write a message to the aolserver log file with an associated severity level.

Constructors

 o NsLog
 public NsLog()
Create a logging connection.

Methods

 o write
 public native void write(String severity,
                          String message)
Write a message to the aolserver log file with an associated severity level.

Parameters:
severity - can be one of Notice, Warning, Error, Fatal, Bug, or Debug.
message - message to output to the log file.

All Packages  Class Hierarchy  This Package  Previous  Next  Index