This interface defines virtual methods for each of the user-facing overload sets in LoggingServiceV2Client. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LoggingServiceV2Client.
[[["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-14 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e object, which is used with \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e for interacting with the logging service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e interface allows for injecting custom behavior in tests by defining virtual methods corresponding to the user-facing overload sets in \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides a list of available versions for the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e object, starting from the release candidate \u003ccode\u003e2.37.0-rc\u003c/code\u003e down to version \u003ccode\u003e2.11.0\u003c/code\u003e, and lists its functions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e object includes methods such as \u003ccode\u003eDeleteLog\u003c/code\u003e, \u003ccode\u003eWriteLogEntries\u003c/code\u003e, \u003ccode\u003eListLogEntries\u003c/code\u003e, \u003ccode\u003eListMonitoredResourceDescriptors\u003c/code\u003e, \u003ccode\u003eListLogs\u003c/code\u003e, \u003ccode\u003eAsyncTailLogEntries\u003c/code\u003e, and \u003ccode\u003eAsyncWriteLogEntries\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance of \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e can be created using \u003ccode\u003eMakeLoggingServiceV2Connection()\u003c/code\u003e, and the class \u003ccode\u003elogging_v2_mocks::MockLoggingServiceV2Connection\u003c/code\u003e can be used for mocking.\u003c/p\u003e\n"]]],[],null,[]]