docs: function log(patch) {
  		var mw = (patch || core.base());
  		mw.enabled = true;
  		// let's be gentle
  		if (console) {
  			mw.writeln = function (str) {
  				if (mw.enabled) {
  					console.log(String(str));
  				}
  			};
  		}
  		else {
  			mw.writeln = function (/*str*/) {
  				// ignore?
  			};
  		}
  		if (!patch) {
  			mw.toString = function () {
  				return '<miniwrite-log>';
  			};
  		}
  		return mw;
  	}