You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
VSFLogger
export type VSFLogger = {
debug(message?: any, ...args: any): void;
info(message?: any, ...args: any): void;
warn(message?: any, ...args: any): void;
error(message?: any, ...args: any): void;
};