| // Copyright 2015 The Vanadium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| logFlags = log.Lshortfile | log.Ltime | log.Lmicroseconds |
| // Vlog is a logger that discards output by default, and only outputs real |
| // logs when SetVerbose is called. |
| Vlog = log.New(ioutil.Discard, logPrefix, logFlags) |
| // SetVerbose tells the vdl package (and subpackages) to enable verbose logging. |
| Vlog = log.New(os.Stderr, logPrefix, logFlags) |