code: def timed(f):
      """
      Intended to be called from within any lightwood method to log the runtime.
      """
  
      @wraps(f)
      def wrap(*args, **kw):
          ts = time()
          result = f(*args, **kw)
          te = time()
          log.debug(
              f" `{f.__name__}` runtime: {round(te - ts, 2)} seconds"
          )
          return result
  
      return wrap
  
file_path: lightwood/lightwood/helpers/log.py
imports: import os
  import logging
  import colorlog
  from time import time
  from datetime import datetime
  from functools import wraps
label_desc: Use image node_id 3 for calling a global function with example usage: timed(f) and returns: wrap, result