Header menu logo B2R2

B2R2.Logging Namespace

Contains logging-related types and functions.

Type/Module Description

ConsoleCachedPrinter

Represents a printer that prints out non-colored strings only when the Flush method is called. All the colored strings will be normalized to plain strings. It will simply stack up all the output candidates before Flush is called. This is useful for performance-critical applications.

ConsoleNullPrinter

Represents a printer that never prints anything. This is the same as redirecting outputs to /dev/null.

ConsolePrinter

Represents a printer that simply prints out strings to console whenever a print method is called. This printer does not perform any caching, so it immediately flushes out all the strings to console.

FilePrinter

Represents a printer that writes log messages to a file. This printer immediately flushes out all the strings to the file whenever a log method is called.

HexDump

Provides hex dumping functionality.

IPrinter

Represents a printer interface. It is recommended to use this interface instead of other language primitives, such as System.Console or printfn.

Log

Represents the main logging facility, shared by all B2R2 components.

LogLevel (Module)

Provides functions to convert between LogLevel and string.

LogLevel (Type)

Represents the verbosity level of logging messages.

PrinterConst

Defines constants used for pretty printing.

TableColumnFormat

Represents a column of a table with a specified width in characters.

TableConfig

Represents the output configuration for a table. This is useful for formatting the output of console applications as we often align texts in a table-like shape.

Type something to start searching.