Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/bun
index
BunPlatform
Class BunPlatform
Implements
ICorePlatform
Index
Constructors
constructor
Properties
before
Exit
log
normalize
File
Methods
get
Default
Log
Level
get
Device
Model
Constructors
constructor
new
BunPlatform
()
:
BunPlatform
Returns
BunPlatform
Properties
before
Exit
beforeExit
:
(
fn
:
()
=>
void
)
=>
()
=>
void
log
log
:
(
color
:
number
,
level
:
number
,
tag
:
string
,
fmt
:
string
,
args
:
unknown
[]
,
)
=>
void
normalize
File
normalizeFile
:
(
file
:
UploadFileLike
,
)
=>
Promise
<
{
file
:
UploadFileLike
;
fileName
?:
string
;
fileSize
?:
number
}
|
null
,
>
Methods
get
Default
Log
Level
getDefaultLogLevel
()
:
null
|
number
Returns
null
|
number
get
Device
Model
getDeviceModel
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
before
Exit
log
normalize
File
Methods
get
Default
Log
Level
get
Device
Model
Documentation - v0.19.5
Loading...