domfarolino / browser

Simple browser components
4 stars 1 forks source link

Debugging Flag #13

Open musgravejw opened 4 years ago

musgravejw commented 4 years ago

A debug level flag might be nice for logging.

domfarolino commented 4 years ago

Explain?

musgravejw commented 4 years ago

Oh, like if you had a compile argument, or command line argument, to enable more verbose logging, then that would provide more information for debugging, which you might not necessarily want the verbose logs running all the time.

domfarolino commented 4 years ago

I agree this would be good to have. I think we should make some base::CommandLine abstraction over the command line arguments, and use that to enable certain things etc, including a log level.