    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

##

NsLog()
  Create a logging connection.

##

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

##

NsLog

     public NsLog()

  Create a logging connection.

##

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