def print_info(*messages, **kwargs):
    """Simple print use logger, print with time / file / line_no.
        :param sep: sep of messages, " " by default.

    Basic Usage::

        print_info(1, 2, 3)
        print_info(1, 2, 3)
        print_info(1, 2, 3)

        # [2018-10-24 19:12:16] temp_code.py(7): 1 2 3
        # [2018-10-24 19:12:16] temp_code.py(8): 1 2 3
        # [2018-10-24 19:12:16] temp_code.py(9): 1 2 3
    """
    sep = kwargs.pop("sep", " ")
    frame = sys._getframe(1)
    ln = frame.f_lineno
    _file = frame.f_globals.get("__file__", "")
    fn = os.path.split(_file)[-1]
    return print_logger.info(
        sep.join(map(unicode, messages)), extra={"ln": ln, "fn": fn}
    )