Log generation method, apparatus, computer device, and storage medium

A log and log table technology, applied in the field of data processing, can solve the problems of large differences in log generation codes, unfavorable rapid development of software products, and low reuse rate of log generation codes, so as to facilitate maintenance and expansion, improve development efficiency, The effect of convenient and unified management

Active Publication Date: 2019-01-25
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this implementation method, the reuse rate of the log generation code is often low, which is not conducive to the rapid development of software products. At the same time, due to the di

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
  • Log generation method, apparatus, computer device, and storage medium
  • Log generation method, apparatus, computer device, and storage medium
  • Log generation method, apparatus, computer device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0019] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0020] It should also be understood that the terminology 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
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a log generation method, a device, a computer device and a storage medium. The method comprises the following steps: an interface invocation request is intercepted by an interceptor, and the interface invocation request comprises an interface identifier; Whether the corresponding software interface identified by the interface is an annotation interface isjudged by an interceptor, and the annotation interface is a software interface with a preset annotation added in advance, wherein the preset annotation comprises a database identification and a log table identification; If the software interface corresponding to the interface identifier is an annotation interface, the input parameters of the software interface are obtained through the interceptor,and the input parameters are written into the log table corresponding to the log table identifier, and the log table is stored in the database corresponding to the database identifier; the software interface runs, the running results of the software interface is obtained through the interceptor, and the running results is writen into the log table corresponding to the log table identifier to generate the log. By implementing the method of the embodiment of the invention, the generation mode of the log can be simplified, and the unified management of the log can be facilitated.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a log generation method, device, computer equipment and storage medium. Background technique [0002] Software interfaces, such as application programming interfaces, are predefined functions that provide application and developer access to a set of routines based on a piece of software or hardware. Generally speaking, when calling a software interface, it is necessary to record the call log of the interface. Especially for some important software interfaces, recording the call log of the software interface is helpful for developers to understand the execution status of the software interface. [0003] At present, the way to record the invocation log of the software interface is that the developer writes log generation code for each software interface, and then executes the log generation code to generate the invocation log of the software interface when the softw...

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
IPC IPC(8): G06F13/10G06F16/18
CPCG06F13/102
Inventor 彭光宗俞立成方奕博巫绍堂郭德福
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products