So, for example, on my system I see files like this from a Go program using glog:
$ ls -l /tmp/nomadnet.INFO
lrwxrwxrwx 1 wathiede users 59 Dec 26 21:16 /tmp/nomadnet.INFO -> nomadnet.nixos-07.wathiede.log.INFO.20221226-211600.4192921
That points to the logs of the most recent invocations of my glog enabled programs.
Would you be receptive of a pull request that mimicked the Go behavior? If not, how about a helper to create it manually like the C++ version?
The automatic behavior is really nice because the symlinks don't get created until a program has logged at that level, for example, the .ERROR
symlink won't even exist if the program hasn't yet logged at the error level.