cc-zos
Version:
Command-line interface for the ZeppelinOS smart contract platform
19 lines (17 loc) • 442 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
class StatusReport {
constructor(expected, observed, description) {
this.expected = expected;
this.observed = observed;
this.description = description;
}
log(logger) {
logger.error(this.description);
logger.error(` - local: ${this.expected}`);
logger.warn(` - on-chain: ${this.observed}\n`);
}
}
exports.default = StatusReport;