Program log record obtaining method and device and electronic device
An acquisition method and log technology, applied in the direction of electrical digital data processing, instrumentation, error detection/correction, etc., can solve the problems that are not suitable for testing or online environment, and the way of program log tracking is inconvenient.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] An embodiment of the present invention provides a method for obtaining program log records, which can simply and conveniently track and record application program logs, and is suitable for testing environments or online loop mirrors.
[0052] figure 1 It is a schematic flowchart of a method for acquiring program log records according to an embodiment of the present invention. The method of this embodiment can be applied to the performance monitoring and analysis of the terminal application program in the development, testing or online environment, especially the monitoring and analysis of the slow information of the application program in the running environment of the Android device.
[0053] Such as figure 1 As shown, the method for obtaining program log records in this embodiment may include:
[0054] Step 101. Obtain the installation address of the application program installation package in the terminal. The application program installation package includes: a co...
Embodiment 2
[0079] An embodiment of the present invention provides a device for obtaining program log records, which can simply and conveniently track and record application program logs, and is suitable for testing environments or online loop mirrors.
[0080] Figure 5 It is a schematic block diagram of the structure of the program log record acquisition device in the embodiment of the present invention, see image 3 , the device of this embodiment may include an address obtaining module 11 , an interface calling module 12 and an execution recording module 13 .
[0081] Wherein, the address acquisition module 11 is configured to acquire the installation address of the application installation package in the terminal; the application installation package includes: a command line log record operation file.
[0082] The interface calling module 12 is configured to receive a user instruction, and call a system interface to access the command line log record operation file according to the us...
Embodiment 3
[0102] An embodiment of the present invention further provides an electronic device, the electronic device including the device described in any one of the foregoing embodiments.
[0103] Figure 7 It is a schematic structural diagram of an embodiment of the electronic device of the present invention, which can realize the present invention Figure 1-3 The flow of the illustrated embodiment, such as Figure 7 As shown, the above-mentioned electronic equipment may include: a housing 41, a processor 42, a memory 43, a circuit board 44 and a power supply circuit 45, wherein the circuit board 44 is arranged inside the space enclosed by the housing 41, and the processor 42 and the memory 43 Set on the circuit board 44; the power supply circuit 45 is used to supply power to the various circuits or devices of the above-mentioned electronic equipment; the memory 43 is used to store executable program codes; the processor 42 reads the executable program codes stored in the memory 43 t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


