Making outputs from core functions optional
The name of the game is booleans.
The problem is: my core functions have print outs through IO.say() and logging through log.log() that I don't always want to happen. I want the values to be returned in some applications, for various error parsing and banners, and to be nonexistent in others.
Default printout values to the terminal, otherwise return a statement.
In both cases, log. (Unless that should be a Boolean too, in which case, log only if logging is toggled, which it automatically is.)
That's all.
Making outputs from core functions optional
The name of the game is booleans.
The problem is: my core functions have print outs through IO.say() and logging through log.log() that I don't always want to happen. I want the values to be returned in some applications, for various error parsing and banners, and to be nonexistent in others.
Default printout values to the terminal, otherwise return a statement.
In both cases, log. (Unless that should be a Boolean too, in which case, log only if logging is toggled, which it automatically is.)
That's all.