A proxy method which uses all console methods but
accepts a condition argument which disables it when the condition
is truthy. This is useful when you want to enable
console statements in development or testing environments but
want them disabled in production.
A proxy method which uses all console methods but accepts a condition argument which disables it when the condition is truthy. This is useful when you want to enable console statements in development or testing environments but want them disabled in production.