@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
1 lines • 1.53 kB
Source Map (JSON)
{"version":3,"sources":["../../../packages/core/diagnostics/log-record.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,QAAQ,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,GAAG,CAAC;IAEb;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ;;;OAGG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC;CACrB","file":"log-record.d.ts","sourcesContent":["import { LogLevel } from './log-level';\r\n\r\n/**\r\n * Log record.\r\n */\r\nexport interface LogRecord {\r\n /**\r\n * The record originator of event within a module.\r\n * ex) <angular component>\r\n */\r\n source: string;\r\n\r\n /**\r\n * The level of event.\r\n */\r\n level: LogLevel;\r\n\r\n /**\r\n * The message of event.\r\n */\r\n message: any;\r\n\r\n /**\r\n * The custom header of the message when logged in the console\r\n */\r\n consoleGroupHeader?: string;\r\n\r\n /**\r\n * The stack trace data.\r\n */\r\n stack?: any;\r\n\r\n /**\r\n * The parameters of event. This could include http request/response with headers when an error is recorded.\r\n * A header should keep unique ID but not primary record property.\r\n */\r\n params?: any; // it can include a serialized AjaxError.\r\n\r\n /**\r\n * The parameters that wouldn't be recorded to shell and gateway.\r\n */\r\n localParams?: any;\r\n}\r\n"]}