-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Any other ways that devs could introduce logs? E.g. 3rd party libs that might use different system apis?
Originally posted by @Diolor in #3588 (comment)
Consider and validate with real examples:
-
Lower level native libraries written in C or C plus plus may write directly to stdout or stderr using functions like printf or fprintf. These outputs can appear in device logs, especially during development and debugging sessions.
-
Crash reporting and error monitoring tools may record logs or breadcrumbs to disk and upload them later. This creates persistent records that can outlive a single app session and may include contextual data if not carefully filtered.
-
Networking stacks and HTTP clients sometimes provide verbose or debug logging modes that dump headers, URLs, or payloads. If enabled outside of debug builds, these logs can expose credentials or personal data.
-
Apps that embed web content can also receive logs from JavaScript runtimes and WebViews through console logging. These messages are often bridged into native logging systems.