Skip to content

Commit 01fce7a

Browse files
authored
Update README.md
1 parent 0018e5c commit 01fce7a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# logfile
22

3-
Easily write all Golang "log" in a file
3+
Listen up, you filthy troglodytes inhabiting the cyber-scarred wastelands of code. You're tired of those log messages littering your console like the droppings of a thousand ill-mannered pigeons? Got a hankering for a solution that's not as tedious as your day-to-day existence? Enter logfile.
4+
5+
This `logfile` package writes all your Golang "log" into a file, like some sort of obedient scribe tirelessly scribbling the rantings of a madman. In a world filled with bloated garbage, this is a tool that makes sense.
46

57
## Usage
8+
Oh, you want to know how to use it? Well, isn't that precious? Fine, I'll hold your hand like the delicate child you are:
69

710
```go
811
import "github.com/l3dlp/logfile"
9-
```
10-
[...]
11-
```go
12+
// [...]
1213
func main() {
1314
logFile := logfile.Use("chemindufichier.log")
1415
if logFile != nil {
@@ -18,7 +19,12 @@ func main() {
1819
}
1920
```
2021

22+
See that? Even you can do it. It's as simple as buying off a politician or ignoring the nagging sense that your life is a repetitive cycle of despair. You just Use it, and BAM! You've got a logfile, sleek and beautiful, like the truth in a world full of lies.
23+
2124
## License
25+
[MIT license](LICENSE). It's free and unburdened by moral constraint, like a good systems library should be.
26+
27+
---
2228

23-
This project is under MIT license - see [LICENSE file](LICENSE) for all details.
29+
Now, run along, kids. Dive into the world of logfile and embrace the brutal, unfiltered reality it offers. Or don't. Either way, the world's still turning, and I've still got deadlines to meet.
2430

0 commit comments

Comments
 (0)