<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def opt(self, *, exception=None, record=False, lazy=False, ansi=False, raw=False, depth=0):
 r"""Parametrize a logging call to slightly change generated log message. Parameters exception : |bool|, |tuple| or |Exception|, optional If it does not evaluate as ``False``, the passed exception is formatted and added to the log message. It could be an |Exception| object or a ``(type, value, traceback)`` tuple, otherwise the exception information is retrieved from |sys.exc_info|. record : |bool|, optional If ``True``, the record dict contextualizing the logging call can be used to format the message by using ``{record[key]}`` in the log message. lazy : |bool|, optional If ``True``, the logging call attribute to format the message should be functions which will be called only if the level is high enough. This can be used to avoid expensive functions if not necessary. ansi : |bool|, optional If ``True``, logged message will be colorized according to the markups it possibly contains. raw : |bool|, optional If ``True``, the formatting of each sink will be bypassed and the message will be send as is. depth : |int|, optional Specify which stacktrace should be used to contextualize the logged message. This is useful while using the logger from inside a wrapped function to retrieve worthwhile information. Returns ------- :class:`~Logger` A logger wrapping the core logger, but transforming logged message adequately before sending. Examples -------- [18:10:02] DEBUG in '<module>' - Exception logged with debug level: Traceback (most recent call last, catch point marked):
 > File "<stdin>", line 2, in <module> ZeroDivisionError: division by zero [18:10:33] INFO in '<module>' - Current line is: 1 [18:11:19] DEBUG in '<module>' - If sink <= DEBUG: 263130836933693530167218012160000000 [18:11:30] WARNING in '<module>' - We got a BIG problem No formatting [18:11:54] DEBUG in 'func' - Get parent context """

        return Logger(self._extra, exception, record, lazy, ansi, raw, depth)