Changed the input parameters for the method "log"
delete "content" if equal "undef"
Merge pull request #1 from Madskill/logs

Changed the input parameters for the method "log"