Kent Hagerman | 0ab4cb2 | 2019-04-24 13:13:35 -0400 | [diff] [blame] | 1 | // +build integration |
| 2 | |
sslobodr | d6e07e7 | 2019-01-31 16:07:20 -0500 | [diff] [blame] | 3 | /* |
| 4 | * Copyright 2018-present Open Networking Foundation |
| 5 | |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | // The template for the tester. |
| 19 | // This template is filled in by the |
| 20 | // test driver based on the configuration. |
| 21 | |
| 22 | package main |
| 23 | |
| 24 | import ( |
| 25 | "github.com/opencord/voltha-go/common/log" |
| 26 | ) |
| 27 | |
| 28 | func main() { |
| 29 | // Setup logging |
| 30 | /* |
Kent Hagerman | 0ab4cb2 | 2019-04-24 13:13:35 -0400 | [diff] [blame] | 31 | if _, err := log.SetDefaultLogger(log.JSON, 0, nil); err != nil { |
| 32 | log.With(log.Fields{"error": err}).Fatal("Cannot setup logging") |
| 33 | } |
sslobodr | d6e07e7 | 2019-01-31 16:07:20 -0500 | [diff] [blame] | 34 | */ |
| 35 | |
| 36 | defer log.CleanUp() |
| 37 | |
| 38 | log.Info("Template runs!") |
| 39 | } |