Version:
SDK for interfacing with WhatsApp Business Platform in Typescript or Node.js using the Cloud API, hosted by Meta.
15 lines (14 loc) • 436 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
import { LoggerInterface } from './types/logger';
export default class Logger implements LoggerInterface {
private name;
private debug;
constructor(name: string, debug?: boolean);
log(...data: any[]): void;
}