gelf ~master (2022-04-24T16:10:04.1303539)
Dub
Repo
HttpGrayLogger
gelf
HTTP Graylog Logger
class
HttpGrayLogger :
GrayLogger
{
import
std
.
net
.
curl
;
;
protected
HTTP
_http
;
this
(HTTP http, Compress compress, string host, LogLevel v);
void
writeLogMsg
(LogEntry payload);
HTTP
http
();
}
Constructors
this
this
(HTTP http, Compress compress, string host, LogLevel v)
Members
Functions
http
HTTP
http
()
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
_http
HTTP
_http
;
Undocumented in source.
Inherited Members
From GrayLogger
gelfVersion
enum
string
gelfVersion
;
Undocumented in source.
_host
string
_host
;
Undocumented in source.
_compress
Compress
_compress
;
Undocumented in source.
_msgStart
string
_msgStart
;
Undocumented in source.
_dataAppender
Appender
!(
ubyte
[])
_dataAppender
;
Undocumented in source.
formatMessage
void
formatMessage
(void delegate(const(char)[]) sink, LogEntry payload)
Undocumented in source. Be warned that the author may not have intended to support it.
fillAppender
void
fillAppender
(LogEntry payload)
clearAppender
void
clearAppender
()
host
string
host
()
Meta
Source
See Implementation
gelf
classes
GrayLogger
HttpGrayLogger
SocketGrayLogger
TcpGrayLogger
UdpGrayLogger
HTTP Graylog Logger