blob: e7e63facbc22100cbd3e33c917e5bb6805efd8cb [file] [log] [blame]
Kent Hagerman0ab4cb22019-04-24 13:13:35 -04001// +build integration
2
sslobodrd6e07e72019-01-31 16:07:20 -05003/*
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
22package main
23
24import (
Scott Baker807addd2019-10-24 15:16:21 -070025 "github.com/opencord/voltha-lib-go/v2/pkg/log"
sslobodrd6e07e72019-01-31 16:07:20 -050026)
27
28func main() {
29 // Setup logging
30 /*
Kent Hagerman0ab4cb22019-04-24 13:13:35 -040031 if _, err := log.SetDefaultLogger(log.JSON, 0, nil); err != nil {
32 log.With(log.Fields{"error": err}).Fatal("Cannot setup logging")
33 }
sslobodrd6e07e72019-01-31 16:07:20 -050034 */
35
36 defer log.CleanUp()
37
38 log.Info("Template runs!")
39}