#fail #whale #prints #happen #bad #stdout

fail_whale

轻松打印 fail whale!

1 个不稳定版本

0.1.0 2022年3月2日

#4#happen

MIT 许可证

3KB

fail-whale

▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████

轻松打印 fail whale

use fail_whale::*;

// When something bad happens
fail_whale::print();

/*
Prints to stdout
▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████
*/
use fail_whale::*;

// When something bad happens
fail_whale::print_with_message("Oh no!");

/*
Prints to stdout
▄████████████▄▐█▄▄▄▄█▌
█████▌▄▌▄▐▐▌██▌▀▀██▀▀
███▄█▌▄▌▄▐▐▌▀██▄▄█▌
▄▄▄▄█████████████
Oh no!
*/

依赖

~0–10MB
~56K SLoC