added log level to magic methods