org.ogre4j
Interface ILogManager

All Superinterfaces:
IAllocatedObject<IGeneralAllocPolicy>, IGeneralAllocatedObject, INativeObject, ISingleton<ILogManager>
All Known Implementing Classes:
LogManager

public interface ILogManager
extends INativeObject, IGeneralAllocatedObject, ISingleton<ILogManager>


Nested Class Summary
static interface ILogManager.ILogList
           
 
Method Summary
 ILog createLog(java.lang.String name, boolean defaultLog, boolean debuggerOutput, boolean suppressFileOutput)
          Creates a new log with the given name.
 void destroyLog(ILog log)
          Closes and removes a log.
 void destroyLog(java.lang.String name)
          Closes and removes a named log.
 ILog getDefaultLog()
          Returns a pointer to the default log.
 ILog getLog(java.lang.String name)
          Retrieves a log managed by this class.
 void logMessage(LogMessageLevel lml, java.lang.String message, boolean maskDebug)
          a message to the default log (signature for backward compatibility).
 void logMessage(java.lang.String message, LogMessageLevel lml, boolean maskDebug)
          a message to the default log.
 ILog setDefaultLog(ILog newLog)
          Sets the passed in log as the default log.
 void setLogDetail(LoggingLevel ll)
          Sets the level of detail of the default log.
 void stream(ILog.IStream returnValue, LogMessageLevel lml, boolean maskDebug)
          Get a stream on the default log.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

createLog

ILog createLog(java.lang.String name,
               boolean defaultLog,
               boolean debuggerOutput,
               boolean suppressFileOutput)
Creates a new log with the given name.


getLog

ILog getLog(java.lang.String name)
Retrieves a log managed by this class.


getDefaultLog

ILog getDefaultLog()
Returns a pointer to the default log.


destroyLog

void destroyLog(java.lang.String name)
Closes and removes a named log.


destroyLog

void destroyLog(ILog log)
Closes and removes a log.


setDefaultLog

ILog setDefaultLog(ILog newLog)
Sets the passed in log as the default log.


logMessage

void logMessage(java.lang.String message,
                LogMessageLevel lml,
                boolean maskDebug)
a message to the default log.


logMessage

void logMessage(LogMessageLevel lml,
                java.lang.String message,
                boolean maskDebug)
a message to the default log (signature for backward compatibility).


stream

void stream(ILog.IStream returnValue,
            LogMessageLevel lml,
            boolean maskDebug)
Get a stream on the default log.


setLogDetail

void setLogDetail(LoggingLevel ll)
Sets the level of detail of the default log.



Copyright © 2007 netAllied GmbH. All Rights Reserved.