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 the \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e for interacting with logging services.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e interface allows for injecting custom behavior in tests, such as using Google Mock objects, through virtual methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeLoggingServiceV2Connection()\u003c/code\u003e function is available for creating a concrete instance of this connection, and \u003ccode\u003elogging_v2_mocks::MockLoggingServiceV2Connection\u003c/code\u003e is provided for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes several virtual functions for logging operations, 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\u003eThe latest version available is 2.37.0-rc, and there is a list of previous versions going down to version 2.11.0, each linking to the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e documentation for that specific version.\u003c/p\u003e\n"]]],[],null,[]]