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

Drew-Kimberly / flumer / 6206343692

16 Sep 2023 08:36AM CUT 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/createLogChannel.ts
1
import { LogChannelName, LogChannelFactory, LogSeverity } from '@flumer/core';
3✔
2
import { createLoggable } from './createLoggable';
3✔
3

4
export const createLogChannel: LogChannelFactory = (
3✔
5
  channel: LogChannelName
6
) => ({
8✔
7
  debug: (message, ...context) =>
8
    createLoggable(LogSeverity.DEBUG, channel, message, context),
1✔
9

10
  info: (message, ...context) =>
11
    createLoggable(LogSeverity.INFO, channel, message, context),
1✔
12

13
  notice: (message, ...context) =>
14
    createLoggable(LogSeverity.NOTICE, channel, message, context),
1✔
15

16
  warning: (message, ...context) =>
17
    createLoggable(LogSeverity.WARNING, channel, message, context),
1✔
18

19
  error: (message, ...context) =>
20
    createLoggable(LogSeverity.ERROR, channel, message, context),
2✔
21

22
  critical: (message, ...context) =>
23
    createLoggable(LogSeverity.CRITICAL, channel, message, context),
1✔
24
});
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