UNPKG
@boost/log
Version:
latest (5.0.0)
next (5.0.0-alpha.3)
5.0.0
5.0.0-alpha.3
5.0.0-alpha.2
5.0.0-alpha.1
4.0.1
4.0.0
4.0.0-alpha.1
3.0.3
3.0.2
3.0.1
3.0.0
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.2.1
1.2.0
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
Lightweight level based logging system.
github.com/milesj/boost
milesj/boost
@boost/log
/
mjs
/
translate.mjs
7 lines
(6 loc)
•
290 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
path
from
'node:path'
;
import
{ fileURLToPath }
from
'node:url'
;
import
{ createTranslator }
from
'@boost/translate'
;
const
msg =
await
createTranslator
(
'log'
, path.
join
(path.
dirname
(
fileURLToPath
(
import
.
meta
.
url
)),
'../res'
));
export
{ msg };
//# sourceMappingURL=translate.mjs.map