<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inject(**params):
 """ A Logbook processor to inject arbitrary information into log records. Simply pass in keyword arguments and use as a context manager: """


    def callback(log_record):
        log_record.extra.update(params)
    return logbook.Processor(callback)