ThinkGeoDebugger¶
Namespace: ThinkGeo.Core
Represents the ThinkGeoDebugger class.
public static class ThinkGeoDebugger
Inheritance object → ThinkGeoDebugger
Properties¶
LogLevel¶
Gets or sets the LogLevel.
public static ThinkGeoLogLevel LogLevel { get; set; }
Property Value¶
LogType¶
Gets or sets the 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¶
DisplayLabelBox¶
Once Enabled, the Box of each label will be displayed.
public static bool DisplayLabelBox { get; set; }
Property Value¶
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.