{"version":3,"sources":["../../src/utils/Log.ts"],"sourcesContent":["import { Optional } from '../types/Types';\n\nexport function log<T>(t: T): T;\nexport function log<T>(label: string, t: T): T;\nexport function log<T>(labelOrT: string | T, t?: T): T {\n  if (t) {\n    console.log(labelOrT as string, t);\n    return t;\n  } else {\n    console.log(labelOrT);\n    return labelOrT as T;\n  }\n}\nexport function dir<T>(t?: T): Optional<T> {\n  console.dir(t, { depth: 200 });\n  return t;\n}\n"],"mappings":";;;AAIO,SAAS,IAAO,UAAsB,GAAU;AACrD,MAAI,GAAG;AACL,YAAQ,IAAI,UAAoB,CAAC;AACjC,WAAO;AAAA,EACT,OAAO;AACL,YAAQ,IAAI,QAAQ;AACpB,WAAO;AAAA,EACT;AACF;AACO,SAAS,IAAO,GAAoB;AACzC,UAAQ,IAAI,GAAG,EAAE,OAAO,IAAI,CAAC;AAC7B,SAAO;AACT;","names":[]}