Skip to content

Commit cd92b47

Browse files
authored
Merge pull request #99000 from ggailey777/patch-14
Add tabs to page
2 parents 9a23c17 + f60562c commit cd92b47

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/azure-functions/functions-monitor-log-analytics.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,40 +29,42 @@ In the setting page, choose **Send to Log Analytics**, and under **LOG** choose
2929

3030
![Add a diagnostic setting](media/functions-monitor-log-analytics/choose-table.png)
3131

32-
## User generated logs
32+
## User-generated logs
3333

3434
To generate custom logs, you can use the specific logging statement depending on your language, here are sample code snippets:
3535

36-
**JavaScript**
36+
# [JavaScript](#tab/javascript)
3737

3838
```javascript
3939
context.log('My app logs here.');
4040
```
4141

42-
**Python**
42+
# [Python](#tab/python)
4343

4444
```python
4545
logging.info('My app logs here.')
4646
```
4747

48-
**.NET**
48+
# [C#](#tab/csharp)
4949

5050
```csharp
5151
log.LogInformation("My app logs here.");
5252
```
5353

54-
**Java**
54+
# [Java](#tab/java)
5555

5656
```java
5757
context.getLogger().info("My app logs here.");
5858
```
5959

60-
**PowerShell**
60+
# [PowerShell](#tab/powershell)
6161

6262
```powershell
6363
Write-Host "My app logs here."
6464
```
6565

66+
---
67+
6668
## Querying the logs
6769

6870
To query the generated logs, go to the log analytics workspace and click **Logs**.

0 commit comments

Comments
 (0)