Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Output method, device and terminal equipment of log information

An output method and technology of an output device, which are applied in the direction of program control device, hardware monitoring, program loading/starting, etc., can solve the problem of repeatedly loading header files, etc., and achieve the effect of avoiding repeated loading and improving the running speed.

Active Publication Date: 2019-04-16
TCL CORPORATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention provides a log information output method, device and terminal equipment to solve the problem in the prior art that header files need to be loaded repeatedly when printing log information, and to improve the readability of log information

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Output method, device and terminal equipment of log information
  • Output method, device and terminal equipment of log information
  • Output method, device and terminal equipment of log information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0017] In the embodiment of the present invention, the log information output method is applied to a terminal device, and the terminal device includes but is not limited to a smart phone, a tablet computer, and the like. By integrating and encapsulating the log output interfaces corresponding to various types of files into a dynamic library file, various existing log output methods are managed; during the running and debugging of the program, when the log information output command is received, load The dynamic library file; call the corresponding log output interface from the dynamic library file ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of terminal equipment, and provides an output method, an output device and terminal equipment of log information. The method comprises the steps of loading a dynamic library file when receiving a log information output instruction, wherein the dynamic library file comprises multiple types of different log output interfaces; calling the corresponding log output interfaces from the dynamic library file according to the type of a file of log information to be output, and outputting the log information by the corresponding log output interfaces. The log output interfaces corresponding to files of multiple different types are integrated and packaged in the dynamic library file, and the log information is output by directly calling the log output interfaces in the dynamic library file, so that repetitive loading of a header file during outputting the log information is avoided, and the operation speed of a program is effectively improved; the log output interfaces can also be used for filtering the log information, so that the readability of the log information is improved.

Description

technical field [0001] The invention belongs to the technical field of terminal equipment, and in particular relates to a log information output method, device and terminal equipment. Background technique [0002] When developing a smart phone system, it is necessary to run and debug the program and print the log information during the running process. Taking the Firefox mobile operating system FireFox OS as an example, the existing technology mainly uses adb logcat to display log information. The displayed content is not filtered, and the log information is numerous and complicated, which is not conducive to users from obtaining useful log information. When printing log information, the dump function is a global function, as long as it is a JS or JSM file, you can use the dump function to print; the debug function is not a global function, and can only be used in the defined JS file; Android systems often use QLOGV, The six printing methods of QLOGD, QLOGI, QLOGW, QLOGE, a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34G06F9/445
Inventor 崔双喜
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products