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

Changed the input parameters for the method "log"