export class ConsoleMessage{constructor(t,s,e,r){this._type=t,this._text=s,this._args=e,this._stackTraceLocations=r}type(){return this._type}text(){return this._text}args(){return this._args}location(){return this._stackTraceLocations.length?this._stackTraceLocations[0]:{}}stackTrace(){return this._stackTraceLocations}}