LumberjackHttpDriver
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:18
The HTTP driver transports logs to the configured web API log store using the POST HTTP verb.
It sends the formatted log and the log including the optional log payload.
Type Parameters
Section titled “Type Parameters”TPayload
Section titled “TPayload”TPayload extends LumberjackLogPayload | void = void
Implements
Section titled “Implements”LumberjackLogDriver<TPayload>OnDestroy
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LumberjackHttpDriver<
TPayload>():LumberjackHttpDriver<TPayload>
Returns
Section titled “Returns”LumberjackHttpDriver<TPayload>
Properties
Section titled “Properties”config
Section titled “config”
readonlyconfig:LumberjackHttpDriverInternalConfig
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:27
Log driver settings.
Implementation of
Section titled “Implementation of”LumberjackLogDriver.config
driverIdentifier
Section titled “driverIdentifier”
readonlystaticdriverIdentifier:"LumberjackHttpDriver"='LumberjackHttpDriver'
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:21
Methods
Section titled “Methods”logCritical()
Section titled “logCritical()”logCritical(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:38
Send critical log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logCritical
logDebug()
Section titled “logDebug()”logDebug(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:47
Send debug log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logDebug
logError()
Section titled “logError()”logError(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:56
Send error log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logError
logInfo()
Section titled “logInfo()”logInfo(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:65
Send info log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logInfo
logTrace()
Section titled “logTrace()”logTrace(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:74
Send trace log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logTrace
logWarning()
Section titled “logWarning()”logWarning(
param0):void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:83
Send warning log to the log store.
Parameters
Section titled “Parameters”param0
Section titled “param0”LumberjackLogDriverLog<TPayload>
The log and its text representation.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”LumberjackLogDriver.logWarning
ngOnDestroy()
Section titled “ngOnDestroy()”ngOnDestroy():
void
Defined in: packages/ngworker/lumberjack/http-driver/src/lib/log-drivers/lumberjack-http.driver.ts:29
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”OnDestroy.ngOnDestroy