interface LogFormatter
enum LOG_LEVEL
enum LOG_FORMATTING
class Logger
Constructors
constructor(origin?: string, production?: boolean, formatting?: LOG_FORMATTING)
constructor(for_value: any, production?: boolean, formatting?: LOG_FORMATTING)
constructor(origin: any, production: any, formatting: LOG_FORMATTING)
Properties
formatting: LOG_FORMATTING
log_to_console: boolean
log_to_cache: boolean
cache?: string
cursor_x: WeakMap
cursor_y: WeakMap
loggersForStream: Map
Constant UNYT_COLORS
type: {RED: number[],GREEN: number[],BLUE: number[],YELLOW: number[],MAGENTA: number[],CYAN: number[],BLACK: number[],WHITE: number[],GREY: number[],}
Predefined unyt specific color scheme.
Common ANSI esacpe sequences for colors and text style
Let console_theme
type: dark | light
Let font_family
type: string
Help us improving our docs
Our documentations are fully open source. Something is wrong or unclear? Edit documentation.