- added log & logf functions