Processing method and system for avoiding repeated log output
A processing method and log technology, which is applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of duplication of log files, and achieve the effect of improving work efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] 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.
[0036] Such as figure 1 As shown, the processing method for avoiding repeated log output in the embodiment of the present invention includes the following steps:
[0037] S1. In the log recording system, call the log writing interface function to pass in the current log information, and add a unique parameter identifier for the current log information; the unique parameter identifier in this embodiment is a log error code.
[0038] The log writing interface function is:
[0039] void log(int level, int code, const char *msg, ...)
[0040] Among them, level is the log level, msg is the log inform...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com