def _log_init(self, line, is_debug=False):
        """If we are still in the initialization phase (i.e., we have not started the agent service), then append
        the specified line to the list that will be written out in the ``emit_init_log`` method.

        @param line: The line containing information.
        @param is_debug:  True if this represents a debug level log record and should only be emitted to the actual
            log if the configuration's debug_init True is true.
        @type line: str
        @type is_debug: bool
        """
        if self.__is_initializing:
            current_time = time.time()
            time_str = '%s.%03dZ' % (time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime(current_time)),
                                     int(current_time % 1 * 1000))
            self.__init_log_lines.append(['%s   (%s)' % (line, time_str), is_debug])
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_posix.py/PosixPlatformController._log_init/original