你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Diagnostics class

定义用于管理在版本 1.21.0 中添加的控制台输出的诊断 API

属性

onLogOutput

属性详细信息

onLogOutput

static void onLogOutput

属性值

void

方法详细信息

SetLoggingLevel(LogLevel)

static function SetLoggingLevel(logLevel: LogLevel)

参数

logLevel
LogLevel

SetLogOutputPath(string)

static function SetLogOutputPath(path: string)

参数

path

string

StartConsoleOutput()

static function StartConsoleOutput()

StopConsoleOutput()

static function StopConsoleOutput()