Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/google/cloud/logging/__init__.py: 0%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1# -*- coding: utf-8 -*- 

2# Copyright 2025 Google LLC 

3# 

4# Licensed under the Apache License, Version 2.0 (the "License"); 

5# you may not use this file except in compliance with the License. 

6# You may obtain a copy of the License at 

7# 

8# http://www.apache.org/licenses/LICENSE-2.0 

9# 

10# Unless required by applicable law or agreed to in writing, software 

11# distributed under the License is distributed on an "AS IS" BASIS, 

12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

13# See the License for the specific language governing permissions and 

14# limitations under the License. 

15# 

16from google.cloud.logging_v2 import ASCENDING, DESCENDING, __version__, handlers, types 

17from google.cloud.logging_v2.client import Client 

18from google.cloud.logging_v2.entries import ( 

19 LogEntry, 

20 ProtobufEntry, 

21 StructEntry, 

22 TextEntry, 

23 logger_name_from_path, 

24) 

25from google.cloud.logging_v2.logger import Batch, Logger 

26from google.cloud.logging_v2.metric import Metric 

27from google.cloud.logging_v2.resource import Resource 

28from google.cloud.logging_v2.sink import Sink 

29 

30__all__ = ( 

31 "__version__", 

32 "ASCENDING", 

33 "Batch", 

34 "Client", 

35 "DESCENDING", 

36 "handlers", 

37 "logger_name_from_path", 

38 "Logger", 

39 "LogEntry", 

40 "Metric", 

41 "ProtobufEntry", 

42 "Resource", 

43 "Sink", 

44 "StructEntry", 

45 "TextEntry", 

46 "types", 

47)