Rework logging to be clearer and more standardized. Rework all usages of lossing to follow a single unified style, introducing a new "warn" option alongside this.