@Namespace(value="modsecurity::debug_log") @NoOffset @Properties(inherit=modsecurity.class) public class DebugLog extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DebugLog() |
DebugLog(long size)
Native array allocator.
|
DebugLog(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
getDebugLogFile() |
int |
getDebugLogLevel() |
DebugLog |
getPointer(long i) |
boolean |
isLogFileSet() |
boolean |
isLogLevelSet() |
int |
m_debugLevel() |
DebugLog |
m_debugLevel(int setter) |
DebugLog |
position(long position) |
void |
setDebugLogFile(BytePointer fileName,
BytePointer error) |
void |
setDebugLogFile(String fileName,
BytePointer error) |
void |
setDebugLogLevel(int level) |
void |
write(int level,
BytePointer msg) |
void |
write(int level,
BytePointer id,
BytePointer uri,
BytePointer msg) |
void |
write(int level,
String msg) |
void |
write(int level,
String id,
String uri,
String msg) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DebugLog(Pointer p)
Pointer(Pointer)
.public DebugLog(long size)
Pointer.position(long)
.public DebugLog()
public DebugLog getPointer(long i)
getPointer
in class Pointer
public void write(int level, @StdString BytePointer msg)
public void write(int level, @StdString String msg)
public void write(int level, @StdString BytePointer id, @StdString BytePointer uri, @StdString BytePointer msg)
public void write(int level, @StdString String id, @StdString String uri, @StdString String msg)
public void setDebugLogLevel(int level)
public void setDebugLogFile(@StdString BytePointer fileName, @StdString @Cast(value={"char*","std::string*"}) BytePointer error)
public void setDebugLogFile(@StdString String fileName, @StdString @Cast(value={"char*","std::string*"}) BytePointer error)
@StdString public BytePointer getDebugLogFile()
public int getDebugLogLevel()
public int m_debugLevel()
public DebugLog m_debugLevel(int setter)
Copyright © 2022. All rights reserved.