Search
Preparing search index...
The search index is not available
Zowe Node.js SDK - v2.0.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@zowe/imperative
Console
Class Console
Hierarchy
Console
Implements
IConsole
Index
Constructors
constructor
Properties
m
Color
m
IsOn
m
Level
m
Prefix
LEVELS
LEVEL_
DEFAULT
Accessors
color
level
on
prefix
Methods
add
Context
build
Prefix
clear
Context
debug
error
fatal
format
info
is
Debug
Enabled
is
Error
Enabled
is
Fatal
Enabled
is
Format
Enabled
is
Info
Enabled
is
Level
Enabled
is
Trace
Enabled
is
Warn
Enabled
remove
Context
trace
warn
write
Stderr
write
Stdout
get
Console
is
Valid
Level
validate
Level
Constructors
constructor
new
Console
(
mLevel
?:
string
)
:
Console
Parameters
Default value
mLevel:
string
= Console.LEVEL_DEFAULT
Returns
Console
Properties
Private
m
Color
m
Color
:
boolean
Private
m
IsOn
m
IsOn
:
boolean
Private
m
Level
m
Level
:
string
Private
m
Prefix
m
Prefix
:
boolean
Static
Readonly
LEVELS
LEVELS
:
string
[]
= ["trace", "debug", "info", "warn", "error", "fatal", "off"]
Static
Readonly
LEVEL_
DEFAULT
LEVEL_
DEFAULT
:
"debug"
= "debug"
Accessors
color
get
color
(
)
:
boolean
set
color
(
isEnabled
:
boolean
)
:
void
Returns
boolean
Parameters
isEnabled:
boolean
Returns
void
level
get
level
(
)
:
string
set
level
(
level
:
string
)
:
void
Returns
string
Parameters
level:
string
Returns
void
on
get
on
(
)
:
boolean
set
on
(
isOn
:
boolean
)
:
void
Returns
boolean
Parameters
isOn:
boolean
Returns
void
prefix
get
prefix
(
)
:
boolean
set
prefix
(
isEnabled
:
boolean
)
:
void
Returns
boolean
Parameters
isEnabled:
boolean
Returns
void
Methods
add
Context
add
Context
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
Private
build
Prefix
build
Prefix
(
type
:
string
)
:
string
Parameters
type:
string
Returns
string
clear
Context
clear
Context
(
)
:
void
Returns
void
debug
debug
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
error
error
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
fatal
fatal
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
Private
format
format
(
data
:
string
,
...
args
:
any
[]
)
:
string
Parameters
data:
string
Rest
...
args:
any
[]
Returns
string
info
info
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
is
Debug
Enabled
is
Debug
Enabled
(
)
:
boolean
Returns
boolean
is
Error
Enabled
is
Error
Enabled
(
)
:
boolean
Returns
boolean
is
Fatal
Enabled
is
Fatal
Enabled
(
)
:
boolean
Returns
boolean
is
Format
Enabled
is
Format
Enabled
(
)
:
boolean
Returns
boolean
is
Info
Enabled
is
Info
Enabled
(
)
:
boolean
Returns
boolean
is
Level
Enabled
is
Level
Enabled
(
)
:
boolean
Returns
boolean
is
Trace
Enabled
is
Trace
Enabled
(
)
:
boolean
Returns
boolean
is
Warn
Enabled
is
Warn
Enabled
(
)
:
boolean
Returns
boolean
remove
Context
remove
Context
(
key
:
string
)
:
void
Parameters
key:
string
Returns
void
trace
trace
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
warn
warn
(
message
:
any
,
...
args
:
any
[]
)
:
string
Parameters
message:
any
Rest
...
args:
any
[]
Returns
string
Private
write
Stderr
write
Stderr
(
message
:
string
,
...
args
:
any
[]
)
:
string
Parameters
message:
string
Rest
...
args:
any
[]
Returns
string
Private
write
Stdout
write
Stdout
(
message
:
string
,
...
args
:
any
[]
)
:
string
Parameters
message:
string
Rest
...
args:
any
[]
Returns
string
Static
get
Console
get
Console
(
category
:
string
)
:
Console
Parameters
category:
string
Returns
Console
Static
is
Valid
Level
is
Valid
Level
(
level
:
string
)
:
boolean
Parameters
level:
string
Returns
boolean
Static
validate
Level
validate
Level
(
level
:
string
)
:
void
Parameters
level:
string
Returns
void
Globals
@zowe/core-
for-
zowe-
sdk
@zowe/imperative
@zowe/provisioning-
for-
zowe-
sdk
@zowe/zos-
console-
for-
zowe-
sdk
@zowe/zos-
files-
for-
zowe-
sdk
@zowe/zos-
jobs-
for-
zowe-
sdk
@zowe/zos-
logs-
for-
zowe-
sdk
@zowe/zos-
tso-
for-
zowe-
sdk
@zowe/zos-
uss-
for-
zowe-
sdk
@zowe/zos-
workflows-
for-
zowe-
sdk
@zowe/zosmf-
for-
zowe-
sdk
@zowe/core-
for-
zowe-
sdk
@zowe/imperative
Console
constructor
m
Color
m
IsOn
m
Level
m
Prefix
LEVELS
LEVEL_
DEFAULT
color
level
on
prefix
add
Context
build
Prefix
clear
Context
debug
error
fatal
format
info
is
Debug
Enabled
is
Error
Enabled
is
Fatal
Enabled
is
Format
Enabled
is
Info
Enabled
is
Level
Enabled
is
Trace
Enabled
is
Warn
Enabled
remove
Context
trace
warn
write
Stderr
write
Stdout
get
Console
is
Valid
Level
validate
Level
@zowe/provisioning-
for-
zowe-
sdk
@zowe/zos-
console-
for-
zowe-
sdk
@zowe/zos-
files-
for-
zowe-
sdk
@zowe/zos-
jobs-
for-
zowe-
sdk
@zowe/zos-
logs-
for-
zowe-
sdk
@zowe/zos-
tso-
for-
zowe-
sdk
@zowe/zos-
uss-
for-
zowe-
sdk
@zowe/zos-
workflows-
for-
zowe-
sdk
@zowe/zosmf-
for-
zowe-
sdk
Generated using
TypeDoc