auto convert level from string
add custom log method
Merge pull request #2 from danmilon/feature-custom-log

Add custom log method