Skip to content

An incredibly simple logger! All it does is to log all outputs of `print` and `println` into a file.

License

Notifications You must be signed in to change notification settings

jacob-roth/PrintLog.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrintLog

An incredibly simple logger! All it does is to log all outputs of print and println into a file.

Usage:

julia> using PrintLog

julia> @printlog "junk.log"
INFO: `print` and `println` will be logged into file `bf.log`

julia> println("junk")
junk

julia> @noprintlog
INFO: `print` and `println` are resumed.

julia> println("junk")
junk

And here is what junk.log looks like:

junk

Created by Zhizhong Li.

About

An incredibly simple logger! All it does is to log all outputs of `print` and `println` into a file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Julia 100.0%