Skip to content

Off/on/level setting for debug logging #18

@cdr4eelz

Description

@cdr4eelz

There should be a flag or log-level setting (perhaps defaulting to false/"errors-only") to control the console.log message generated by SerialHub front-end (controllable by back-end).

If viewed in a FATAL / ERROR / WARN / INFO / DEBUG / TRACE log-level scheme:

FATAL=ERROR=WARN: Any error result that we can log.
INFO (default): Successful Connect/Disconnect and other "rare" successful actions.
DEBUG=TRACE: Successful read/write or other "frequent" activities

The logging of each and every message sent/received is the primary thing to suppress, other messages are sparse and almost always potentially relevant to the end-user. Essentially a "debug" or "verbose" boolean could suffice.

log

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions