---
title: get_log_header
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/dataflowdevg/udfrefp_23_0077.html
sourcePath: /source/zh/canncommercial/900/others/dataflowdevg/udfrefp_23_0077.html
indexId: b39a30d5979152297cb93ce6257afdfaa2ed675d9b85d73e916eb3dab5d02d5a70
---
# get_log_header

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | x |
| Atlas 推理系列产品 | x |
| Atlas 训练系列产品 | x |


#### 函数功能

获取日志扩展头信息。


#### 函数原型

```
get_log_header(self) -> str
```


#### 参数说明

无


#### 返回值

日志扩展头。


#### 异常处理

无


#### 约束说明

无
