Table of Contents

Class ThinkGeoDebugger

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll
public static class ThinkGeoDebugger
Inheritance
ThinkGeoDebugger
Inherited Members

Properties

DisplayTileId

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

public static bool DisplayTileId { get; set; }

Property Value

bool

Remarks

It only affects the tiles on the map, the tile ID will not be saved in the cache.

LogLevel

public static ThinkGeoLogLevel LogLevel { get; set; }

Property Value

ThinkGeoLogLevel

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

LogType

public static ThinkGeoLogType LogType { get; set; }

Property Value

ThinkGeoLogType

Methods

Log(string, ThinkGeoLogType, ThinkGeoLogLevel)

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

Parameters

message string
logType ThinkGeoLogType
logLevel ThinkGeoLogLevel