Closed blogic closed 1 year ago
import * as ulog from 'ulog'; ulog.open('example', [ 'syslog', 'stderr' ]); ulog.info('info\n'); ulog.note('note\n'); ulog.warn('warn\n'); ulog.warn('error: %d\n', -1); ulog.close();
Signed-off-by: John Crispin john@phrozen.org
agreed with Jow that we really need a full fledged libubox binding
import * as ulog from 'ulog'; ulog.open('example', [ 'syslog', 'stderr' ]); ulog.info('info\n'); ulog.note('note\n'); ulog.warn('warn\n'); ulog.warn('error: %d\n', -1); ulog.close();
Signed-off-by: John Crispin john@phrozen.org