LOGGING SYSTEM AND METHOD FOR COMPUTER SOFTWARE
First Claim
1. A computer-implemented method to generate a logging dictionary for a compilation of a source code that has a logging statement and associated source code static data, comprising:
- selecting part of said source code that includes said logging statement;
determining source code static data associated with said logging statement;
generating a combined data element from said associated source code static data;
wherein if said combined data element does not occur in said logging dictionary correlated to said logging statement;
assigning a log index value to said combined data element; and
adding said log index value, correlated to the logging statement, to said logging dictionary.
10 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a computer-implemented method to generate a logging dictionary for a compilation of a source code that has a logging statement and associated source code static data, comprising: selecting part of the source code that includes the logging statement; determining source code static data associated with the logging statement; generating a combined data element from the associated source code static data; correlating the combined data element with the logging statement; wherein if the combined data element does not occur in the logging dictionary correlated to said logging statement; assigning a log index value to the combined data element; and adding the log index value, correlated to the logging statement, to the log dictionary.
32 Citations
19 Claims
-
1. A computer-implemented method to generate a logging dictionary for a compilation of a source code that has a logging statement and associated source code static data, comprising:
-
selecting part of said source code that includes said logging statement; determining source code static data associated with said logging statement; generating a combined data element from said associated source code static data; wherein if said combined data element does not occur in said logging dictionary correlated to said logging statement; assigning a log index value to said combined data element; and adding said log index value, correlated to the logging statement, to said logging dictionary. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method for generating a key index value that correlates to a logging statement and associated source code static data, comprising:
-
selecting part of a source code that includes said logging statement; determining associated source code static data associated with said logging statement; generating a combined data element from said associated source code static data; determining a log index value associated with said correlated combined data element and said logging statement; and enabling a write, to a log, of said log index value in said source code. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A preprocessor system for modifying source code, comprising:
-
a) a logging statement identifier configured to; distinguish a logging statement from a source code; and parse source code, associated with said source code, further into; i) associated source static data, and ii) associated static variable name data; and b) a logging dictionary generator, configured to; i) combine said associated static information to form a combined data element; ii) generate a log index value that acts as a key for said combined data element; and iii) store said log index value and said combined data element into a coupled logging dictionary. - View Dependent Claims (16, 17, 18, 19)
-
Specification