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

inf() method from fcf.Logger class

fcf.Actions inf(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 "info".

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.inf("Application", "Hello world!");

Output:

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