1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Remove outdated logging module (#966)

I haven't been through all of them yet, and some of those that I have
reviewed still have useful info that should be preserved. However, this
`logging.nu` version seems to long predate the one we now have in the
standard-library.
This commit is contained in:
Douglas 2024-10-02 08:40:54 -04:00 committed by GitHub
parent 7211896e27
commit e4c5af9a58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +0,0 @@
# This is a first attempt and some type of logging
def log [message:any] {
let now = (date now | format date '%Y%m%d_%H%M%S.%f')
let mess = $"($now)|DBG|($message)(char nl)"
$mess
}