Yuki Takei 2 дней назад
Родитель
Сommit
effcea418d

+ 2 - 3
packages/logger/src/transport-factory.spec.ts

@@ -21,10 +21,9 @@ describe('createNodeTransportOptions', () => {
       expect(opts.transport?.target).toContain('bunyan-format');
     });
 
-    it('returns singleLine: false for full multi-line context', () => {
+    it('passes no options (singleLine defaults to false inside bunyan-format)', () => {
       const opts = createNodeTransportOptions(false);
-      const popts = opts.transport?.options as Record<string, unknown>;
-      expect(popts?.singleLine).toBe(false);
+      expect(opts.transport?.options).toBeUndefined();
     });
   });
 

+ 0 - 3
packages/logger/src/transport-factory.ts

@@ -33,9 +33,6 @@ export function createNodeTransportOptions(
     return {
       transport: {
         target: bunyanFormatPath,
-        options: {
-          singleLine: false,
-        },
       },
     };
   }