Skip to content

ThinkGeoDebugger

Namespace: ThinkGeo.Core

Represents the ThinkGeoDebugger class.

public static class ThinkGeoDebugger

Inheritance objectThinkGeoDebugger

Properties

LogLevel

Gets or sets the LogLevel.

public static ThinkGeoLogLevel LogLevel { get; set; }

Property Value

ThinkGeoLogLevel

LogType

Gets or sets the LogType.

public static ThinkGeoLogType LogType { get; set; }

Property Value

ThinkGeoLogType

LogStreamWriter

If LogStreamWriter is not null, it will also log to this StreamWriter. ThinkGeo just call LogStreamWriter.WriteLine() internally, and you need to manage this StreamWriter to make it work as you expected (By calling Flush(), Close(), handle exceptions, etc. properly).

public static StreamWriter LogStreamWriter { get; set; }

Property Value

StreamWriter

LogToConsole

Whether to write the logs to Console

public static bool LogToConsole { get; set; }

Property Value

bool

DisplayTileId

Once Enabled, the TileID will be displayed on the tile.

public static bool DisplayTileId { get; set; }

Property Value

bool

DisplayLabelBox

Once Enabled, the Box of each label will be displayed.

public static bool DisplayLabelBox { get; set; }

Property Value

bool

Methods

Log(string, ThinkGeoLogType, ThinkGeoLogLevel)

Performs log.

public static void Log(string message, ThinkGeoLogType logType, ThinkGeoLogLevel logLevel)

Parameters

message string
The message.

logType ThinkGeoLogType
The log type.

logLevel ThinkGeoLogLevel
The log level.

Returns

void