• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Drew-Kimberly / flumer / 6206343692

16 Sep 2023 08:36AM UTC coverage: 92.0%. Remained the same
6206343692

Pull #33

github

web-flow
chore: update dependency @types/node to v14.18.61
Pull Request #33: chore: update dependency @types/node to v14.18.61

5 of 5 branches covered (100.0%)

Branch coverage included in aggregate %.

41 of 45 relevant lines covered (91.11%)

2.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/packages/logger/src/logWithEvent.ts
1
import {
3✔
2
  IEmitter,
3
  LogChannelHandler,
4
  LogEvents,
5
  LogSeverity,
6
} from '@flumer/core';
7

8
export const logWithEvent = <S extends LogSeverity>(
3✔
9
  logChannelHandler: LogChannelHandler<S>,
10
  emitter: IEmitter
11
) => (message: string, ...context: unknown[]) => {
15✔
12
  const loggable = logChannelHandler(message, ...context);
4✔
13
  emitter.emit(LogEvents.MESSAGE_LOGGED, loggable);
4✔
14
  return loggable;
4✔
15
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc