method Logger.prototype.asStringView codeLogger.prototype.asString(data: unknown,isProperty?): stringParametersdata: unknownView codeoptionalisPropertyView codeReturn TypestringView code