File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -85,4 +85,14 @@ export interface IQuery {
85
85
* @param objects
86
86
*/
87
87
debug ( message : string , objects ?: any ) : void ;
88
+
89
+ /**
90
+ * Write a warn log message.
91
+ *
92
+ * This is provided to allow the query rendering code to log progress on the rendering,
93
+ * including meaningful information about the query being rendered.
94
+ * @param message
95
+ * @param objects
96
+ */
97
+ warn ( message : string , objects ?: any ) : void ;
88
98
}
Original file line number Diff line number Diff line change @@ -458,4 +458,8 @@ ${statement.explainStatement(' ')}
458
458
public debug ( message : string , objects ?: any ) : void {
459
459
this . logger . debugWithId ( this . _queryId , `"${ this . filePath } ": ${ message } ` , objects ) ;
460
460
}
461
+
462
+ public warn ( message : string , objects ?: any ) : void {
463
+ this . logger . warnWithId ( this . _queryId , `"${ this . filePath } ": ${ message } ` , objects ) ;
464
+ }
461
465
}
You can’t perform that action at this time.
0 commit comments