Require package['logcheck'] rather than the class.