Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 326 Bytes
package fastimage
import (
"io/ioutil"
"log"
"os"
)
var logger = log.New(ioutil.Discard, "fastimage", log.LstdFlags)
// Debug enables debug logging of the operations done by the library.
// If called, lots of information will be print to stderr.
func Debug() {
logger = log.New(os.Stderr, "fastimage", log.LstdFlags)
}
You can’t perform that action at this time.