ThinkGeoDebugger¶
Namespace: ThinkGeo.Core
public static class ThinkGeoDebugger
Inheritance Object → ThinkGeoDebugger
Properties¶
LogLevel¶
public static ThinkGeoLogLevel LogLevel { get; set; }
Property Value¶
LogType¶
public static ThinkGeoLogType LogType { get; set; }
Property Value¶
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¶
LogToConsole¶
Whether to write the logs to Console
public static bool LogToConsole { get; set; }
Property Value¶
DisplayTileId¶
Once Enabled, the TileID will be displayed on the tile.
public static bool DisplayTileId { get; set; }
Property Value¶
Remarks:
It only affects the tiles on the map, the tile ID will not be saved in the cache.
Methods¶
Log(String, ThinkGeoLogType, ThinkGeoLogLevel)¶
public static void Log(string message, ThinkGeoLogType logType, ThinkGeoLogLevel logLevel)
Parameters¶
message
String
logType
ThinkGeoLogType
logLevel
ThinkGeoLogLevel