File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -302,8 +302,6 @@ export const logWithRequestId = (id: string, ...args: any) => {
302302 return ;
303303 }
304304
305- // config is loaded, and debug is true
306-
307305 // if there are there are logs in buffer, print them first and empty the buffer.
308306 while ( logBuffer . length > 0 ) {
309307 const log = logBuffer . shift ( ) ?? '' ;
@@ -329,8 +327,6 @@ export const logErrorWithRequestId = (id: string, ...args: any) => {
329327 return ;
330328 }
331329
332- // config is loaded, and debug is true
333-
334330 // if there are there are logs in buffer, print them first and empty the buffer.
335331 while ( logBuffer . length > 0 ) {
336332 const log = logBuffer . shift ( ) ?? '' ;
@@ -356,11 +352,6 @@ export const logError = (...args: any) => {
356352 return ;
357353 }
358354
359- if ( globalThis ?. litConfig ?. debug !== true ) {
360- return ;
361- }
362- // config is loaded, and debug is true
363-
364355 // if there are there are logs in buffer, print them first and empty the buffer.
365356 while ( logBuffer . length > 0 ) {
366357 const log = logBuffer . shift ( ) ?? '' ;
You can’t perform that action at this time.
0 commit comments