Automattic / Automattic/node-canvas
Granular logging support
Open
Text & Fonts
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
## Feature
There doesn't seem a way to toggle logging properly. I am getting some warnings about a missing font, but I'd like to be able to mute them or better pipe them into winston (for example).
## Steps to Reproduce
```js
var Canvas = require('canvas');
var canvas = Canvas.createCanvas(200, 200);
var ctx = canvas.getContext('2d');
ctx.font = '200px somemissingfont'
```
## Your Environment
* Version of node-canvas: canvas@2.8.0
* Environment: Node 14.15.5 on Windows 11
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.