gelf v0.1.2 (2016-04-01T13:47:39Z)
Dub
Repo
UdpGrayLogger
gelf
UDP Graylog Logger
class
UdpGrayLogger :
SocketGrayLogger
{
protected
ubyte
[]
_chunk
;
import
std
.
random
;
;
import
std
.
datetime
;
;
Mt19937
gen
;
this
(UdpSocket socket, Compress compress, string host, LogLevel v, int chunk);
bool
send
(const(void)[] data);
void
writeLogMsg
(LogEntry payload);
}
Constructors
this
this
(UdpSocket socket, Compress compress, string host, LogLevel v, int chunk)
Members
Functions
send
bool
send
(const(void)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeLogMsg
void
writeLogMsg
(LogEntry payload)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_chunk
ubyte
[]
_chunk
;
Undocumented in source.
gen
Mt19937
gen
;
Undocumented in source.
Inherited Members
From SocketGrayLogger
_socket
Socket
_socket
;
Undocumented in source.
socket
Socket
socket
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
gelf
classes
GrayLogger
HttpGrayLogger
SocketGrayLogger
TcpGrayLogger
UdpGrayLogger
UDP Graylog Logger