FCF 2.0 development in progress...
> > > > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

tst() method from fcf.Logger class

fcf.Actions tst(string a_module, mixed a_arg1, mixed a_arg2, ...)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Outputs a message to the log. Logging level "test".

Arguments

string a_module
- The name of the module in which logging is performed

mixed a_arg1 ... a_argN
- Arguments output to the log
Result
fcf.Actions
- Delayed action object for logging operation completion

Example: Function application

fcf.log.tst("Application", "Hello world!");

Output:

2023-04-18 02:34:34.593 [PID:12245] [TST] [MOD:Application]: Hello world!