method Logger.prototype.format Logger.prototype.format(levelName: string,color: string,message: string,): string Formats a log message with optional prefix and timestamp Parameters levelName: string color: string message: string Return Type string