Skip to content

Commit 7116a7b

Browse files
authored
Update how-to-collect-client-logs.md
1 parent bb5f481 commit 7116a7b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/communication-services/resources/troubleshooting/voice-video-calling/references/how-to-collect-client-logs.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ import { setLogLevel, createClientLogger, AzureLogger } from '@azure/logger';
2121
setLogLevel('verbose');
2222
let logger = createClientLogger('ACS');
2323
const callClient = new CallClient({ logger });
24-
// Redirect log output
24+
25+
// Redirect ACS calling sdk's log output
2526
AzureLogger.log = (...args) => {
2627
// To console, file, buffer, REST API, etc...
2728
console.log(...args);
2829
};
30+
31+
// Application logging
32+
logger.info('....');
2933
```
3034

3135
[@azure/logger](https://www.npmjs.com/package/@azure/logger) supports four different log levels:

0 commit comments

Comments
 (0)