Logs console info if console is available, node is not in production mode, and we aren't running Jest.
Parameters:
Name | Type | Description |
---|---|---|
message | string | The message to log. |
- Since
- 1.0.0
- Source
Returns:
- Type:
- void
Example
import { consoleInfo } from "@gravityforms/utils";
function Example() {
consoleInfo( 'Hello from example' );
}