[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page documents the \u003ccode\u003eClientIpLogEntryLabelProvider\u003c/code\u003e class, which is a specialized implementation of \u003ccode\u003eILogEntryLabelProvider\u003c/code\u003e for adding the client's IP address to log entry labels.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eClientIpLogEntryLabelProvider\u003c/code\u003e inherits from \u003ccode\u003eHttpLogEntryLabelProvider\u003c/code\u003e and is part of the \u003ccode\u003eGoogle.Cloud.Diagnostics.AspNetCore3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be initialized using the \u003ccode\u003eClientIpLogEntryLabelProvider(IHttpContextAccessor)\u003c/code\u003e constructor, which requires an \u003ccode\u003eIHttpContextAccessor\u003c/code\u003e instance to access the \u003ccode\u003eHttpContext\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInvokeCore\u003c/code\u003e method, which is an override from \u003ccode\u003eHttpLogEntryLabelProvider\u003c/code\u003e, is used to implement the core logic for adding the IP address label and utilizes the \u003ccode\u003eHttpContext\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides a list of the different versions of the \u003ccode\u003eClientIpLogEntryLabelProvider\u003c/code\u003e, ranging from version 4.3.1 up to the latest version 5.2.0.\u003c/p\u003e\n"]]],[],null,[]]