UNPKG
@canalplus/readme.doc
Version:
latest (0.6.0)
0.6.0
0.5.0
0.3.0
Readme's an Extremely Accessible Documentation MakEr
github.com/canalplus/README
canalplus/README
@canalplus/readme.doc
/
build
/
log.d.ts
8 lines
(7 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
/** * Output on stdout the given log with the right level. Add ANSI color escape * codes if stdout is currently a tty. *
@param
{
string
}
level
*
@param
{
string
}
msg
*/
export
default
function
log
(
level:
"LOG"
|
"WARNING"
|
"ERROR"
, msg: string
):
void
;