docstr: Get last time mark from stack, calculate time diff with current time, and log time diff and info.
  :param info: str
      Info that will be logged into stdout.
docstr_tok: ["Get","last","time","mark","from","stack",",","calculate","time","diff","with","current","time",",","and","log","time","diff","and","info",".",":","param","info",":","str","Info","that","will","be","logged","into","stdout","."]
code: def log_cost_time(cls, info="Done"):
      """
      Get last time mark from stack, calculate time diff with current time, and log time diff and info.
      :param info: str
          Info that will be logged into stdout.
      """
      cost_time = time() - cls.time_marks.pop()
      cls.timer_logger.info(
          "Time cost: {0:.3f}s | {1}".format(cost_time, info)
      )
  
imports: import logging
  from typing import Optional, Text, Dict, Any
  import re
  from logging import config
  from time import time
  from contextlib import contextmanager
  from .config import C
label_desc: Use image node_id 4 for calling the TimeInspector obj's underlying member method code with example usage: obj.log_cost_time(cls, info) without return types