KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
<internal>
Logger
Class Logger
Index
Constructors
constructor
Properties
console
ctx
error
Stream
output
Stream
Methods
clear
Full
Screen
clear
Highlight
Cache
clear
Screen
deprecate
error
get
Columns
highlight
log
on
Terminal
Cleanup
print
Banner
print
Browser
Banner
print
Error
print
No
Test
Found
print
Source
Type
Errors
print
Unhandled
Errors
warn
Constructors
constructor
new
Logger
(
ctx
:
Vitest
,
outputStream
?:
Writable
|
WriteStream
,
errorStream
?:
Writable
|
WriteStream
,
)
:
Logger
Parameters
ctx
:
Vitest
Optional
outputStream
:
Writable
|
WriteStream
Optional
errorStream
:
Writable
|
WriteStream
Returns
Logger
Properties
console
console
:
Console
ctx
ctx
:
Vitest
error
Stream
errorStream
:
Writable
|
WriteStream
output
Stream
outputStream
:
Writable
|
WriteStream
Methods
clear
Full
Screen
clearFullScreen
(
message
?:
string
)
:
void
Parameters
Optional
message
:
string
Returns
void
clear
Highlight
Cache
clearHighlightCache
(
filename
?:
string
)
:
void
Parameters
Optional
filename
:
string
Returns
void
clear
Screen
clearScreen
(
message
:
string
,
force
?:
boolean
)
:
void
Parameters
message
:
string
Optional
force
:
boolean
Returns
void
deprecate
deprecate
(
message
:
string
)
:
void
Parameters
message
:
string
Returns
void
error
error
(
...
args
:
any
[]
)
:
void
Parameters
...
args
:
any
[]
Returns
void
get
Columns
getColumns
()
:
number
Returns
number
highlight
highlight
(
filename
:
string
,
source
:
string
)
:
string
Parameters
filename
:
string
source
:
string
Returns
string
log
log
(
...
args
:
any
[]
)
:
void
Parameters
...
args
:
any
[]
Returns
void
on
Terminal
Cleanup
onTerminalCleanup
(
listener
:
Listener
)
:
void
Parameters
listener
:
Listener
Returns
void
print
Banner
printBanner
()
:
void
Returns
void
print
Browser
Banner
printBrowserBanner
(
project
:
TestProject
)
:
void
Parameters
project
:
TestProject
Returns
void
print
Error
printError
(
err
:
unknown
,
options
?:
ErrorOptions
)
:
void
Parameters
err
:
unknown
Optional
options
:
ErrorOptions
Returns
void
print
No
Test
Found
printNoTestFound
(
filters
?:
string
[]
)
:
void
Parameters
Optional
filters
:
string
[]
Returns
void
print
Source
Type
Errors
printSourceTypeErrors
(
errors
:
TypeCheckError
[]
)
:
void
Parameters
errors
:
TypeCheckError
[]
Returns
void
print
Unhandled
Errors
printUnhandledErrors
(
errors
:
readonly
unknown
[]
)
:
void
Parameters
errors
:
readonly
unknown
[]
Returns
void
warn
warn
(
...
args
:
any
[]
)
:
void
Parameters
...
args
:
any
[]
Returns
void
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
console
ctx
error
Stream
output
Stream
Methods
clear
Full
Screen
clear
Highlight
Cache
clear
Screen
deprecate
error
get
Columns
highlight
log
on
Terminal
Cleanup
print
Banner
print
Browser
Banner
print
Error
print
No
Test
Found
print
Source
Type
Errors
print
Unhandled
Errors
warn
Github
KC's Workspace
Loading...