changed signatures to be more compatible with log package
add test to actually compare output of log functions