RabbitMQAppender
@tsed/logger-rabbitmq
Usage
typescript
import { RabbitMQAppender } from "@tsed/logger-rabbitmq";
Overview
ts
class RabbitMQAppender extends BaseAppender {
get options(): any;
build(): void;
write(loggingEvent: LogEvent): void;
shutdown(): Promise<any> | void;
protected waiting(): boolean;
protected waitForPromises: (done: Function) => void;
protected publish(message?: string): void;
protected send(messages: string[]): void;
protected closeConnection(): Promise<void>;
}
get options
ts
get options(): any;
build
ts
build(): void;
write
ts
write(loggingEvent: LogEvent): void;
shutdown
ts
shutdown(): Promise<any> | void;
protected waiting
ts
protected waiting(): boolean;
protected waitForPromises:
ts
protected waitForPromises: (done: Function) => void;
protected publish
ts
protected publish(message?: string): void;
protected send
ts
protected send(messages: string[]): void;
protected closeConnection
ts
protected closeConnection(): Promise<void>;