Class print
Writes text to the output window, console, log file or custom writer.
public static class print
Namespace: Au
Assembly: Au.dll
Properties
| Name | Description |
|---|---|
| ignoreConsole | If |
| isConsoleProcess | Returns |
| isWritingToConsole | Returns |
| logFile | Sets log file path.
When set (not |
| logFileTimestamp | If |
| noHex | Write unsigned numeric types in decimal format, not hexadecimal. |
| redirectConsoleOutput | Let Console.WriteX methods in non-console process write to the same destination as print.it. |
| redirectDebugOutput | Let Debug.Write, Trace.Write and similar methods also write to the same destination as print.it. |
| writer | Gets or sets object that actually writes text when is called print.it. |
Methods
| Name | Description |
|---|---|
| clear() | Clears the output window or console text (if print.isWritingToConsole) or log file (if print.logFile not |
| directly(string) | Same as print.it, but does not pass the string to print.writer. |
| it(InterpolatedString) | Writes interpolated string to the output. |
| it(object) | Writes value of any type to the output. |
| it(object, object, params object[]) | Writes multiple arguments of any type to the output, using separator |
| it(ReadOnlySpan<byte>, int) | Writes binary data to the output, formatted like in a hex editor. |
| it(string) | Writes string to the output. |
| it<T>(IEnumerable<T>) | Writes an array or generic collection to the output. |
| list(string, object, object, params object[]) | Writes multiple arguments of any type to the output, using separator. |
| list<T>(string, IEnumerable<T>) | Writes an array or generic collection to the output, as a list of items separated by separator. |
| scrollToTop() | Scrolls the output window or console to the top. |
| warning(Exception, string) | Writes an exception warning to the output. |
| warning(string, int, string) | Writes a warning text to the output. By default appends the stack trace. |