bunt icon indicating copy to clipboard operation
bunt copied to clipboard

Community Feedback

Open LukasKalbertodt opened this issue 5 years ago • 9 comments

Do you have any opinions, complaints, suggestions, ideas, ... about this library or its syntax? Let me know :)

LukasKalbertodt avatar Jul 30 '20 12:07 LukasKalbertodt

I like, it slaps, I use it to color stuff in my Gopher client that I'm currently working on. Haven't tried on Windows, but Linux experience is neat.

luciusmagn avatar Aug 18 '20 19:08 luciusmagn

Could the color and other styles be specified by argument? For example,

bunt::println!("{$*}error:{/$}", Color::Red, ty);

In that case I could calculate the color at runtime.

Berrysoft avatar Apr 03 '21 13:04 Berrysoft

@Berrysoft That's an interesting idea! I opened #21. Not sure if I can start working on it anytime soon, though.

LukasKalbertodt avatar Apr 11 '21 11:04 LukasKalbertodt

Thanks for the great library!

I'm using your library for one of my projects, but I wanted leveled logging. So I cobbled together this crate, which provides some convenience macros (error!, info!, debug!, etc.) over bunt::writeln!.

Not really sure if this functionality is appropriate to make a PR for, since it's not a proper log implementation and the level/output target configuration uses a global. But it's convenient, for what it's worth. Hopefully someone else looking for something similar might find it useful.

mirryi avatar Aug 13 '21 20:08 mirryi

@Dophin2009 Thanks for letting me know. I think this functionality should certainly live outside of bunt itself, but as a standalone crate, it's great!

LukasKalbertodt avatar Sep 09 '21 08:09 LukasKalbertodt