Documentation ¶
Overview ¶
Package logx implement a simple log rotation mechanism
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForkRotate ¶
ForkRotate create writer to rotated log file, and fork to other writers filename will generated by base and suffix, plus date info. i.e. w, err := ForkRotate("/var/log/myapp-", ".log", os.Stdout)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.