Beispiel #1
0
func Log(level LogLevel, id, format string, args ...interface{}) error {
	return result(C._log(C.CPhidgetLog_level(level), convertString(id), convertString(fmt.Sprintf(format, args...))))
}
Beispiel #2
0
func EnableLogging(level LogLevel, path string) error {
	return result(C.CPhidget_enableLogging(C.CPhidgetLog_level(level), convertString(path)))
}