Class Logging

Class Logging

Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.1.0)

คลาสสำหรับสร้างการกำหนดค่าบันทึก.

public static class Logging

การสืบทอด

objectLogging

สมาชิกที่สืบทอด

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

คุณสมบัติ

คอนโซล

ตั้งค่าหรือรับ - บันทึกจะแสดงบนคอนโซล.

public static bool Console { get; set; }

ค่าคุณสมบัติ

bool

ระบบไฟล์

ตั้งค่าหรือรับ - บันทึกจะถูกบันทึกในไฟล์ (เส้นทางเริ่มต้น “Aspose.OCR.log.txt”).

public static bool FileSystem { get; set; }

ค่าคุณสมบัติ

bool

เส้นทางไฟล์บันทึก

ตั้งค่าหรือรับเส้นทางและชื่อของไฟล์บันทึก.

public static string LogFilePath { get; set; }

ค่าคุณสมบัติ

string

ระดับการบันทึก

ตั้งค่าหรือรับระดับการบันทึก

public static LoggingLevel LoggingLevel { get; set; }

ค่าคุณสมบัติ

LoggingLevel

 แบบไทย