# Distributed under the terms of the Modified BSD License.
from hdijupyterutils.log import Log

import sparkmagic.utils.configuration as conf
from sparkmagic.utils.constants import MAGICS_LOGGER_NAME


class SparkLog(Log):
    def __init__(self, class_name):
        super(SparkLog, self).__init__(
            MAGICS_LOGGER_NAME, conf.logging_config(), class_name
        )
