GetLogHistory

サマリー

Determines whether history logging is active.

説明

To enable history logging, use the SetLogHistory function.

To limit the duration of history logging, use the LogHistory class as a context manager or decorator.

構文

GetLogHistory ()
戻り値
データ タイプ説明
Boolean

Returns whether geoprocessing logging history is enabled.

コードのサンプル

GetLogHistory example

Disable history logging, if enabled.

import arcpy
if arcpy.GetLogHistory():
    arcpy.SetLogHistory(False)

関連トピック


このトピックの内容