File: logging.go

package info (click to toggle)
age-plugin-tpm 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 196 kB
  • sloc: makefile: 23
file content (14 lines) | stat: -rw-r--r-- 137 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package plugin

import (
	"io"
	"log"
)

var (
	Log *log.Logger
)

func SetLogger(w io.Writer) {
	Log = log.New(w, "", log.Lshortfile)
}