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

17 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-12-08 06:51 +0000

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

2 

3# Copyright 2020 Google LLC 

4# 

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

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

7# You may obtain a copy of the License at 

8# 

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

10# 

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

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

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

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

15# limitations under the License. 

16# 

17 

18from google.cloud.logging_v2 import __version__ 

19from google.cloud.logging_v2 import ASCENDING 

20from google.cloud.logging_v2 import DESCENDING 

21 

22from google.cloud.logging_v2.client import Client 

23from google.cloud.logging_v2.entries import logger_name_from_path 

24from google.cloud.logging_v2.entries import LogEntry 

25from google.cloud.logging_v2.entries import TextEntry 

26from google.cloud.logging_v2.entries import StructEntry 

27from google.cloud.logging_v2.entries import ProtobufEntry 

28from google.cloud.logging_v2 import handlers 

29from google.cloud.logging_v2.logger import Logger 

30from google.cloud.logging_v2.logger import Batch 

31from google.cloud.logging_v2.metric import Metric 

32from google.cloud.logging_v2.resource import Resource 

33from google.cloud.logging_v2.sink import Sink 

34from google.cloud.logging_v2 import types 

35 

36__all__ = ( 

37 "__version__", 

38 "ASCENDING", 

39 "Batch", 

40 "Client", 

41 "DESCENDING", 

42 "handlers", 

43 "logger_name_from_path", 

44 "Logger", 

45 "LogEntry", 

46 "Metric", 

47 "ProtobufEntry", 

48 "Resource", 

49 "Sink", 

50 "StructEntry", 

51 "TextEntry", 

52 "types", 

53)