@steambrew/api
Version:
This sub-project is responsible for transpiling and assembling @steambrew/client and @steambrew/webkit into a bundle that is injectable into the Steam Client. `StartPreloader` is the main function that is called from the backend of Millennium in C++ with
3 lines (2 loc) • 1.34 kB
JavaScript
import"../millennium.js";const o="background:rgb(37, 105, 184); color: white;",e=(e,c,...r)=>{console.log(`%c ${e} %c ${c} %c`,o,"background:rgb(28, 135, 206); color: white;","background: transparent;",...r)},c=(e,c,...r)=>{console.group(`%c ${e} %c ${c} %c`,o,"background: rgb(28, 135, 206); color: white;","background: transparent;",...r)},r=(e,c,...r)=>{console.groupEnd(),r?.length>0&&console.log(`^ %c ${e} %c ${c} %c`,o,"background: rgb(28, 135, 206); color: white;","background: transparent;",...r)},n=(e,c,...r)=>{console.debug(`%c ${e} %c ${c} %c`,o,"background: #1abc9c; color: white;","color: blue;",...r)},a=(e,c,...r)=>{console.warn(`%c ${e} %c ${c} %c`,o,"background: #ffbb00; color: white;","color: blue;",...r)},t=(e,c,...r)=>{console.error(`%c ${e} %c ${c} %c`,o,"background: #FF0000;","background: transparent;",...r)};class l{constructor(o,e="Millennium"){this.name=o,this.moduleName=e,this.name=o,this.moduleName=e}log(...o){e(this.moduleName,this.name,...o)}debug(...o){n(this.moduleName,this.name,...o)}warn(...o){a(this.moduleName,this.name,...o)}error(...o){t(this.moduleName,this.name,...o)}group(...o){c(this.moduleName,this.name,...o)}groupEnd(...o){r(this.moduleName,this.name,...o)}}export{n as debug,l as default,t as error,c as group,r as groupEnd,e as log,a as warn};
//# sourceMappingURL=chunk-logger.js.map