version_bump/logging
A tiny leveled logger for the release pipeline.
Mirrors semantic-release’s use of a prefixed, leveled signale/console
logger. Each message is printed to stdout with a [version_bump] prefix and a
colorized level tag. Logging is a side effect, so every function returns
Nil.
Types
Values
pub fn format(level: Level, msg: String) -> String
Render a level + message into a single colorized, prefixed line. Pure so it can be unit-tested without producing side effects.
pub fn log(level: Level, msg: String) -> Nil
Log a message at the given level. This is the single primitive that the convenience helpers below delegate to.