devTraceHelper.psd1

@{
    ModuleVersion    = '0.0.2.0'
    RootModule  = 'devTraceHelper'
    Author = 'Dmitry Molchanov'
    GUID       = 'f74ae68c-8604-4b95-bfd2-8861d2672bf6'
    CompanyName = 'home'
    Copyright = '(c) 2019 DMhome. All rights reserved.'
    Description = 'Provides functions (cmdlets) for advanced colorized logging in terminal. Converts objects in JSON, allows to measure time of execution. Shows the file name and line where the "out" command called.
 
How to use.
 
Add the following code in your project.
 
# to log some text
out "some text"
 
# to log some object
out $object
 
# to log some object with comment
out $object "comment or objectName"
 
# to view some object in the grid table window
out $object -asGrid
 
# to view some object in compact JSON (all objects converted to JSON)
out $object -compactJSON
 
# to measure time of execution
startMeasureTime
{ some code}
stopMeasureTime ("optional message")
 
'



    
}