Tagged tracing, logging and performance measurements
AssigneeMicrosoft Technology Licensing, LLC
InventorsThomas Hejlsberg, Boaz Lev
Life of this patent
Estimating the term…
Abstract
Instrumenting code. One embodiment includes identifying a line of source code having an incomplete instrumentation. A unique identifier tag is obtained from an identifier source. The unique identifier tag is inserted into the instrumentation.
Claims20
A computing system comprising:
- one or more processors;
- and
- one or more computer-readable media having stored thereon instructions that are executable by the one or more processors to configure the computer system to automatically instrument code, including instructions that are executable to configure the computer system to perform at least the following:
- identify a line of source code that includes an incomplete instrumentation;
- obtain a unique identifier tag from an identifier source;
- and
- insert the unique identifier tag into the instrumentation.
The computing system of claim of 4 wherein the correlated element comprise at least one of a comment in the code or the line of source code.
The computing system of claim of 4 wherein the instrumentation comprises a specification of a severity level for the instrumentation and wherein the correlated element comprises the severity level in the log entry.
The computing system of claim of 4 wherein the instrumentation comprises a specification of a category for the instrumentation and wherein the correlated element comprises the category in the log entry.
A computer implemented method of instrumenting code, the method comprising:
- identifying a line of source code that includes an incomplete instrumentation;
- obtaining a unique identifier tag from an identifier source;
- and
- inserting the unique identifier tag into the instrumentation.
The method of claim of 15 where the correlated element is at least one of a comment in code or the line of source code.
One or more computer-readable storage media having stored thereon instructions that are executable by one or more processors to cause the one or more processors to automatically instrument code, including instructions that are executable to configure the computer system to perform at least the following:
- identify a line of source code that includes an incomplete instrumentation;
- obtain a unique identifier tag from an identifier source;
- and
- insert the unique identifier tag into the instrumentation.
Dependencies are inferred from the claim text.