Skip to content

Commit 817dfaa

Browse files
Add logging doc
1 parent c0049d6 commit 817dfaa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/usb.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ export interface MicrobitWebUSBConnectionOptions {
5555
// We should copy this type when extracting a library, and make it optional.
5656
// Coupling for now to make it easy to evolve.
5757

58+
/**
59+
* Determines logging behaviour for events, errors, and logs.
60+
*/
5861
logging?: Logging;
62+
5963
/**
6064
* Determines what should be the fallback behaviour if no device is known.
6165
*/

0 commit comments

Comments
 (0)