UNPKG
caprover-lib
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
A library to communicate with CapRover instances
HorusGoul/caprover-lib
caprover-lib
/
src
/
utils
/
Logger.ts
17 lines
(14 loc)
•
281 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export
default
class
Logger
{
static
log
(
s
:
string
) {
console
.
log
(s); }
static
error
(
s
:
any
) {
// tslint:disable-next-line: no-console
console
.
error
(s); }
static
dev
(
s
:
string
) {
if
(process.
env
.
CLI_IS_DEBUG
) {
console
.
log
(
'>>> '
, s); } } }