[PATCH] Make logerror() and loginfo() static