| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 | 3 |
| 4 library engine.instrumentation; | 4 library engine.instrumentation; |
| 5 | 5 |
| 6 import 'java_core.dart'; | 6 import 'java_core.dart'; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * The class {@code Instrumentation} implements support for logging instrumentat
ion information. | 9 * The class {@code Instrumentation} implements support for logging instrumentat
ion information. |
| 10 * <p> | 10 * <p> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 /** | 68 /** |
| 69 * Is this instrumentation system currently configured to drop instrumentation
data provided to | 69 * Is this instrumentation system currently configured to drop instrumentation
data provided to |
| 70 * it? | 70 * it? |
| 71 * @return | 71 * @return |
| 72 */ | 72 */ |
| 73 static bool isNullLogger() => identical(_CURRENT_LOGGER, _NULL_LOGGER); | 73 static bool isNullLogger() => identical(_CURRENT_LOGGER, _NULL_LOGGER); |
| 74 /** | 74 /** |
| 75 * Set the logger that should receive instrumentation information to the given
logger. | 75 * Set the logger that should receive instrumentation information to the given
logger. |
| 76 * @param logger the logger that should receive instrumentation information | 76 * @param logger the logger that should receive instrumentation information |
| 77 */ | 77 */ |
| 78 static void set logger(InstrumentationLogger logger3) { | 78 static void set logger(InstrumentationLogger logger2) { |
| 79 _CURRENT_LOGGER = logger3 == null ? _NULL_LOGGER : logger3; | 79 _CURRENT_LOGGER = logger2 == null ? _NULL_LOGGER : logger2; |
| 80 } | 80 } |
| 81 /** | 81 /** |
| 82 * Prevent the creation of instances of this class | 82 * Prevent the creation of instances of this class |
| 83 */ | 83 */ |
| 84 Instrumentation() { | 84 Instrumentation() { |
| 85 } | 85 } |
| 86 } | 86 } |
| 87 class InstrumentationBuilder_13 implements InstrumentationBuilder { | 87 class InstrumentationBuilder_13 implements InstrumentationBuilder { |
| 88 InstrumentationBuilder data(String name, bool value) => this; | 88 InstrumentationBuilder data(String name, bool value) => this; |
| 89 InstrumentationBuilder data2(String name, int value) => this; | 89 InstrumentationBuilder data2(String name, int value) => this; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 */ | 250 */ |
| 251 abstract class InstrumentationLogger { | 251 abstract class InstrumentationLogger { |
| 252 /** | 252 /** |
| 253 * Create a builder that can collect the data associated with an operation ide
ntified by the given | 253 * Create a builder that can collect the data associated with an operation ide
ntified by the given |
| 254 * name. | 254 * name. |
| 255 * @param name the name used to uniquely identify the operation | 255 * @param name the name used to uniquely identify the operation |
| 256 * @return the builder that was created | 256 * @return the builder that was created |
| 257 */ | 257 */ |
| 258 InstrumentationBuilder createBuilder(String name); | 258 InstrumentationBuilder createBuilder(String name); |
| 259 } | 259 } |
| OLD | NEW |