nigerian-mobile-validator
Version:
The most rigorous, up-to-date library for validating Nigerian mobile numbers. Fully NCC-compliant, and security-focused, with enterprise-grade features to prevent the business risks of validation failures in regulated industries.
13 lines (12 loc) • 412 B
TypeScript
/**
* Logger interface for the Nigerian Mobile Validator
*
* This interface allows the validator to work with any logging library
* that implements these basic logging methods.
*/
export interface ILogger {
debug(message: string, ...meta: any[]): void;
info(message: string, ...meta: any[]): void;
warn(message: string, ...meta: any[]): void;
error(message: string, ...meta: any[]): void;
}