glimpse

Functions

pub fn debug(term term: a) -> a

Used for finding whats going on in your code. Generally these are best kept to developement enviornments and not production.

Equivlent to console.debug() in JavaScript.

pub fn error(term term: a) -> a

Use this to log errors in your program which shold be addressed. If it is an error your program is designed to catch and recover from, you probably don’t need to log it.

Equivlent to console.error() in JavaScript.

pub fn info(term term: a) -> a

General information such as subprocess starts/stops, initalization information, and runtime logs.

Equivlent to console.log() in JavaScript.

pub fn warn(term term: a) -> a

Runtime arnings which are of note.

Equivlent to console.warn() in JavaScript.

Search Document