Fx.log

Fx.log: API related to log output

1. Running log

Fx.log.info(<Object object>)

Parameter Description

| parameter | type | description |
| ------------ | ------------ | ----------------------- ----------------------------------------- |
| object | Object | the log to be recorded |

return type

void

Return value description

Java example

log.info('Hello fxiaoke');

Groovy example

log.info('Hello fxiaoke')

Precautions

  • Up to 100, and the size is within 50k

2. The debug log is only output in the debug window, not recorded in the running log

Fx.log.debug(<Object object>)

Parameter Description

| parameter | type | description |
| ------------ | ------------ | ----------------------- ----------------------------------------- |
| object | Object | the log to output |

return type

void

Return value description

Java example

log.debug('Hello fxiaoke');

Groovy example

log.debug('Hello fxiaoke')
log.debug('Hello fxiaoke')

2022-11-23
0 0