主权项 |
1. A method for outputting log information, comprising:
acquiring, by a system thread in a terminal device having a processor, a plurality of pieces of log information from a plurality of application threads; establishing, by the system thread, a log information cache queue, caching, by the system thread, each piece of the log information from the plurality of pieces of log information into the established log information cache queue; and configuring, by the system thread, the log information located in a front of the log information cache queue, into a log file. |