Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes
nordugrid.arc.Logger Class Reference

List of all members.

Public Member Functions

synchronized void delete ()
 Logger (Logger parent, String subdomain)
 Logger (Logger parent, String subdomain, LogLevel threshold)
void addDestination (LogDestination destination)
void removeDestinations ()
void setThreshold (LogLevel threshold)
LogLevel getThreshold ()
void msg (LogMessage message)
void msg (LogLevel level, String str)

Static Public Member Functions

static Logger getRootLogger ()

Protected Member Functions

 Logger (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (Logger obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Detailed Description

Definition at line 11 of file Logger.java.


Constructor & Destructor Documentation

nordugrid.arc.Logger.Logger ( long  cPtr,
boolean  cMemoryOwn 
) [inline, protected]

Definition at line 15 of file Logger.java.

                                                  {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

Here is the caller graph for this function:

nordugrid.arc.Logger.Logger ( Logger  parent,
String  subdomain 
) [inline]

Definition at line 40 of file Logger.java.

                                                 {
    this(arcJNI.new_Logger__SWIG_0(Logger.getCPtr(parent), parent, subdomain), true);
  }

Here is the call graph for this function:

nordugrid.arc.Logger.Logger ( Logger  parent,
String  subdomain,
LogLevel  threshold 
) [inline]

Definition at line 44 of file Logger.java.

                                                                     {
    this(arcJNI.new_Logger__SWIG_1(Logger.getCPtr(parent), parent, subdomain, threshold.swigValue()), true);
  }

Here is the call graph for this function:


Member Function Documentation

void nordugrid.arc.Logger.addDestination ( LogDestination  destination) [inline]

Definition at line 48 of file Logger.java.

                                                         {
    arcJNI.Logger_addDestination(swigCPtr, this, LogDestination.getCPtr(destination), destination);
  }

Here is the call graph for this function:

synchronized void nordugrid.arc.Logger.delete ( ) [inline]

Definition at line 28 of file Logger.java.

                                    {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      arcJNI.delete_Logger(swigCPtr);
    }
    swigCPtr = 0;
  }

Here is the call graph for this function:

void nordugrid.arc.Logger.finalize ( ) [inline, protected]

Definition at line 24 of file Logger.java.

                            {
    delete();
  }
static long nordugrid.arc.Logger.getCPtr ( Logger  obj) [inline, static, protected]

Definition at line 20 of file Logger.java.

                                            {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

Here is the caller graph for this function:

static Logger nordugrid.arc.Logger.getRootLogger ( ) [inline, static]

Definition at line 36 of file Logger.java.

                                       {
    return new Logger(arcJNI.Logger_getRootLogger(), false);
  }

Here is the call graph for this function:

Definition at line 60 of file Logger.java.

                                 {
    return LogLevel.swigToEnum(arcJNI.Logger_getThreshold(swigCPtr, this));
  }

Here is the call graph for this function:

void nordugrid.arc.Logger.msg ( LogMessage  message) [inline]

Definition at line 64 of file Logger.java.

                                      {
    arcJNI.Logger_msg__SWIG_0(swigCPtr, this, LogMessage.getCPtr(message), message);
  }

Here is the call graph for this function:

void nordugrid.arc.Logger.msg ( LogLevel  level,
String  str 
) [inline]

Definition at line 68 of file Logger.java.

                                              {
    arcJNI.Logger_msg__SWIG_1(swigCPtr, this, level.swigValue(), str);
  }

Here is the call graph for this function:

Definition at line 52 of file Logger.java.

                                   {
    arcJNI.Logger_removeDestinations(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.Logger.setThreshold ( LogLevel  threshold) [inline]

Definition at line 56 of file Logger.java.

                                               {
    arcJNI.Logger_setThreshold(swigCPtr, this, threshold.swigValue());
  }

Here is the call graph for this function:


Member Data Documentation

boolean nordugrid.arc.Logger.swigCMemOwn [protected]

Definition at line 13 of file Logger.java.

Definition at line 12 of file Logger.java.


The documentation for this class was generated from the following file: