Members
-
<static> __root :string
-
Description
The folder of the node.js projet
Details
-
<static> __logFile :string
-
Description
The path to the logfile
Details
-
<static> __tempFolder :string
-
Description
The temp folder of the node.js projet
Details
Methods
-
<static> GUIDGenerator() → {string}
-
Returns
Details
-
<static> nameof( varObject )
-
Parameters
Name Type Description varObjectObject Examples
nameof({myVar}); //return "myVar"Details
-
<static> overrideLine( message, newLine )
-
Description
Override last line in the logfile
Parameters
Name Type Default Description messagestring newLineboolean true Details
-
<static> writeLog( message, newLine )
-
Description
Write a line in the logfile
Parameters
Name Type Default Description messagestring newLineboolean true Details
-
<static> toFileName( fileName, replacer )
-
Parameters
Name Type Default Description fileNamestring replacerstring - Details