Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Disable NSLog to avoid flooding console #38

Open
simon-kollision opened this issue May 10, 2023 · 0 comments
Open

macOS: Disable NSLog to avoid flooding console #38

simon-kollision opened this issue May 10, 2023 · 0 comments

Comments

@simon-kollision
Copy link

Hi,

Thank you for maintaining this library,

When running a bleno-powered application on macOS, the console currently gets flooded with a large amount of output from the native library, like so:

2023-05-10 09:22:38.983 Electron[15846:644204] BlenoMac::SetServices
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToCBMutableServices
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableService
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToCBMutableService: uuid:13333333-3333-3333-3333-333333333337
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToCBMutableCharacteristics
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic: cUUID:13333333-3333-3333-3333-333333333338
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic: value:(null)
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBCharacteristicProperties
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBAttributePermissions
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToCBDescriptors
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic: cUUID:13333333-3333-3333-3333-333333333339
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBMutableCharacteristic: value:(null)
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBCharacteristicProperties
2023-05-10 09:22:38.983 Electron[15846:644204] napiToCBAttributePermissions
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToCBDescriptors
2023-05-10 09:22:38.983 Electron[15846:644204] napiArrayToUUIDEmitters

The amount of output is so large and so frequent that it essentially renders the console unusable for anything else. How can I disable this output?

Sincerely,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant