UNPKG

525 BTypeScriptView Raw
1import type { Logger } from '@smithy/types';
2export declare function setSdkTracing(enabled: boolean): void;
3/**
4 * Method decorator to trace a single static or member method, any time it's called
5 */
6export declare function callTrace(fn: string, className?: string, logger?: Logger): void;
7/**
8 * Class decorator, enable tracing for all member methods on this class
9 * @deprecated this doesn't work well with localized logging instances, don't use
10 */
11export declare function traceMemberMethods(constructor: Function): void;