Safe Haskell | Safe-Infered |
---|
- delete :: HG3DClass -> IO ()
- createLog :: HG3DClass -> String -> Bool -> Bool -> Bool -> IO HG3DClass
- getLog :: HG3DClass -> String -> IO HG3DClass
- getDefaultLog :: HG3DClass -> IO HG3DClass
- destroyLog :: HG3DClass -> String -> IO ()
- destroyLog2 :: HG3DClass -> HG3DClass -> IO ()
- setDefaultLog :: HG3DClass -> HG3DClass -> IO HG3DClass
- logMessage :: HG3DClass -> String -> EnumLogMessageLevel -> Bool -> IO ()
- logMessage2 :: HG3DClass -> EnumLogMessageLevel -> String -> Bool -> IO ()
- setLogDetail :: HG3DClass -> EnumLoggingLevel -> IO ()
- getSingletonPtr :: IO HG3DClass
- delete'_ :: HG3DClassPtr -> IO ()
- createLog'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> CInt -> CInt -> HG3DClassPtr -> IO ()
- getLog'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()
- getDefaultLog'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- destroyLog'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- destroyLog2'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- setDefaultLog'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()
- logMessage'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> CInt -> IO ()
- logMessage2'_ :: HG3DClassPtr -> CInt -> Ptr CChar -> CInt -> IO ()
- setLogDetail'_ :: HG3DClassPtr -> CInt -> IO ()
- getSingletonPtr'_ :: HG3DClassPtr -> IO ()
Documentation
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name - The name to give the log e.g. |
-> Bool | defaultLog - If true, this is the default log output will be sent to if the generic logging methods on this class are used. The first log created is always the default log unless this parameter is set. |
-> Bool | debuggerOutput - If true, output to this log will also be routed to the debugger's output window. |
-> Bool | suppressFileOutput - If true, this is a logical rather than a physical log and no file output will be written. If you do this you should register a LogListener so log output is not lost. |
-> IO HG3DClass |
Creates a new log with the given name.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name |
-> IO HG3DClass |
Retrieves a log managed by this class.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO HG3DClass |
Returns a pointer to the default log.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name |
-> IO () |
Closes and removes a log.
Closes and removes a named log.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | log |
-> IO () |
Sets the passed in log as the default log.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | message |
-> EnumLogMessageLevel | lml |
-> Bool | maskDebug |
-> IO () |
Log
Log
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> EnumLogMessageLevel | lml |
-> String | message |
-> Bool | maskDebug |
-> IO () |
Sets the level of detail of the default log.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> EnumLoggingLevel | ll |
-> IO () |
Override standard Singleton retrieval. Why do we do this? Well, it's because the Singleton implementation is in a .h file, which means it gets compiled into anybody who includes it. This is needed for the Singleton template to work, but we actually only want it compiled into the implementation of the class based on the Singleton, not all of them. If we don't change this, we get link errors when trying to use the Singleton-based class from an outside dll. This method just delegates to the template version anyway, but the implementation stays in this single compilation unit, preventing link errors.
delete'_ :: HG3DClassPtr -> IO ()Source
createLog'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> CInt -> CInt -> HG3DClassPtr -> IO ()Source
getLog'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()Source
getDefaultLog'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
destroyLog'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
destroyLog2'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
setDefaultLog'_ :: HG3DClassPtr -> HG3DClassPtr -> HG3DClassPtr -> IO ()Source
logMessage'_ :: HG3DClassPtr -> Ptr CChar -> CInt -> CInt -> IO ()Source
logMessage2'_ :: HG3DClassPtr -> CInt -> Ptr CChar -> CInt -> IO ()Source
setLogDetail'_ :: HG3DClassPtr -> CInt -> IO ()Source