-
public class DittoLogger.InternalDittoLogger extends LoggerCb
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanswigCMemOwnpublic final static DittoLogger.InternalDittoLoggerINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitsetCustomLogCallback(Function2<DittoLogLevel, String, Unit> logCallback)UnitffiCustomLog(CLogLevel_t cLogLevel, String msg)Sends a single message to the log at the given log level. -
Methods inherited from class live.ditto.DittoLogger.InternalDittoLogger
delete, finalize, registerCustomLogCb, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership, unregisterCustomLogCb -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setCustomLogCallback
final Unit setCustomLogCallback(Function2<DittoLogLevel, String, Unit> logCallback)
-
ffiCustomLog
Unit ffiCustomLog(CLogLevel_t cLogLevel, String msg)
Sends a single message to the log at the given log level.
- Parameters:
cLogLevel- The log level to send the message at.msg- The message to send.
-
-
-
-