ThinkGeoDebugger¶
Namespace: ThinkGeo.Core
Represents the ThinkGeoDebugger class.
public static class ThinkGeoDebugger
Inheritance object → ThinkGeoDebugger
Properties¶
LogLevel¶
Gets or sets the LogLevel. Starts at whatever the THINKGEO_LOG_LEVEL environment variable names, and at ThinkGeoLogLevel.None when it names nothing, so an application that asks for no logging is charged for none.
public static ThinkGeoLogLevel LogLevel { get; set; }
Property Value¶
LogType¶
Gets or sets the LogType. Starts at whatever the THINKGEO_LOG_TYPE environment variable names - one category, or several separated by commas - and at ThinkGeoLogType.All when it names nothing.
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¶
A(ThinkGeoLogType, ThinkGeoLogLevel)¶
internal static bool A(ThinkGeoLogType , ThinkGeoLogLevel )
Parameters¶
Returns¶
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.