by Hetdegon » Wed Apr 02, 2014 2:31 pm
Yes, that sounds good to me as well. The "server only" has limited uses but I can already think of a few things, so it's also a good idea. I think a simple integer flag should be able to cover those 3 cases (0 for default behavior, 1 for local only, 2 for server only, etc).
I recall it's possible to colorize log() output now, since a few git revisions ago (must double-check, not too sure, but can't do it from here), in that case it could be left to user implementation rather than adding more code to it.
Yes, that sounds good to me as well. The "server only" has limited uses but I can already think of a few things, so it's also a good idea. I think a simple integer flag should be able to cover those 3 cases (0 for default behavior, 1 for local only, 2 for server only, etc).
I recall it's possible to colorize log() output now, since a few git revisions ago (must double-check, not too sure, but can't do it from here), in that case it could be left to user implementation rather than adding more code to it.