Skip to content

Commit ee16b18

Browse files
kurtisvgchingor13
authored andcommitted
Update KMS, Language, and Logging folders. (#990)
* Updated kms/. * Updated language/ * Updated logging/ * Resolve project conflict between logging and error reporting. * Fixed missing checkstyle violoations.
1 parent 828a64d commit ee16b18

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

samples/snippets/src/main/java/com/example/logging/logback/Quickstart.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
/*
2-
Copyright 2017 Google Inc.
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-
*/
2+
* Copyright 2017 Google Inc.
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+
*/
1616

1717
package com.example.logging.logback;
1818

1919
// [START logback_quickstart]
20+
2021
import org.slf4j.Logger;
2122
import org.slf4j.LoggerFactory;
2223

samples/snippets/src/main/java/com/example/logging/logback/enhancers/ExampleEnhancer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
*/
1616

1717
package com.example.logging.logback.enhancers;
18+
1819
// [START logging_enhancer]
20+
1921
import com.google.cloud.logging.LogEntry;
2022
import com.google.cloud.logging.LoggingEnhancer;
2123

0 commit comments

Comments
 (0)