@@ -2465,7 +2465,9 @@ export type GraphQLApiIntrospectionConfig =
2465
2465
*/
2466
2466
export const FieldLogLevel = {
2467
2467
ALL : "ALL" ,
2468
+ DEBUG : "DEBUG" ,
2468
2469
ERROR : "ERROR" ,
2470
+ INFO : "INFO" ,
2469
2471
NONE : "NONE" ,
2470
2472
} as const ;
2471
2473
@@ -2480,16 +2482,17 @@ export type FieldLogLevel = (typeof FieldLogLevel)[keyof typeof FieldLogLevel];
2480
2482
*/
2481
2483
export interface LogConfig {
2482
2484
/**
2483
- * <p>The field logging level. Values can be NONE, ERROR, or ALL.</p>
2485
+ * <p>The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.</p>
2484
2486
* <ul>
2485
2487
* <li>
2486
2488
* <p>
2487
2489
* <b>NONE</b>: No field-level logs are captured.</p>
2488
2490
* </li>
2489
2491
* <li>
2490
2492
* <p>
2491
- * <b>ERROR</b>: Logs the following information only for the fields that are
2492
- * in error:</p>
2493
+ * <b>ERROR</b>: Logs the following information
2494
+ * <b>only</b> for the fields that are in the error
2495
+ * category:</p>
2493
2496
* <ul>
2494
2497
* <li>
2495
2498
* <p>The error section in the server response.</p>
@@ -2504,14 +2507,51 @@ export interface LogConfig {
2504
2507
* </li>
2505
2508
* <li>
2506
2509
* <p>
2510
+ * <b>INFO</b>: Logs the following information <b>only</b> for the fields that are in the info and error
2511
+ * categories:</p>
2512
+ * <ul>
2513
+ * <li>
2514
+ * <p>Info-level messages.</p>
2515
+ * </li>
2516
+ * <li>
2517
+ * <p>The user messages sent through <code>$util.log.info</code> and
2518
+ * <code>console.log</code>.</p>
2519
+ * </li>
2520
+ * <li>
2521
+ * <p>Field-level tracing and mapping logs are not shown.</p>
2522
+ * </li>
2523
+ * </ul>
2524
+ * </li>
2525
+ * <li>
2526
+ * <p>
2527
+ * <b>DEBUG</b>: Logs the following information
2528
+ * <b>only</b> for the fields that are in the debug, info,
2529
+ * and error categories:</p>
2530
+ * <ul>
2531
+ * <li>
2532
+ * <p>Debug-level messages.</p>
2533
+ * </li>
2534
+ * <li>
2535
+ * <p>The user messages sent through <code>$util.log.info</code>,
2536
+ * <code>$util.log.debug</code>, <code>console.log</code>, and
2537
+ * <code>console.debug</code>.</p>
2538
+ * </li>
2539
+ * <li>
2540
+ * <p>Field-level tracing and mapping logs are not shown.</p>
2541
+ * </li>
2542
+ * </ul>
2543
+ * </li>
2544
+ * <li>
2545
+ * <p>
2507
2546
* <b>ALL</b>: The following information is logged for all fields in the
2508
2547
* query:</p>
2509
2548
* <ul>
2510
2549
* <li>
2511
2550
* <p>Field-level tracing information.</p>
2512
2551
* </li>
2513
2552
* <li>
2514
- * <p>The generated request/response functions that got resolved for each field.</p>
2553
+ * <p>The generated request/response functions that were resolved for each
2554
+ * field.</p>
2515
2555
* </li>
2516
2556
* </ul>
2517
2557
* </li>
0 commit comments