got rid of the internal log implementation (it doesn't really belong here)

and applied some minor optimizations.

Considering that both the hashtable and the linklist library are quite lowlevel components in a program
they shouldn't depend from the log subsystem and shouldn't be verbose in logging ... it's up to the caller to
detect error conditions (by checking the return values, and behave accordingly)

especially the use of things like DIE should be avoided in such lowlevel components