shishi_error_outputtype(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ shishi_error_outputtype ✨

okay bestie, welcome to the shishi_error_outputtype(3) page πŸ’– this one lives in the shishi manual, section 3, and it's literally just here to tell you where your log messages are going. that's it. that's the whole vibe. πŸŽ€


🌸 NAME 🌸

shishi_error_outputtype β€” an API function, and yes she's serving "API function" as her whole job description, iconic πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_error_outputtype(Shishi * handle);

πŸ“ ARGUMENTS πŸ“

  • Shishi * handle β€” the shishi handle, and bestie you gotta get it the legit way, as allocated by shishi_init(). no bootleg handles, we don't do that here 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

She reports the current output type that's being used in message logging. that's the tea β˜• she's a little peek-behind-the-curtain function, no cap.


πŸ’œ RETURN VALUE πŸ’œ

Returns the output type, periodt. so like:

  • SHISHI_OUTPUTTYPE_NULL means there is no output at all β€” silence, ghosted, nobody's talking 😭
  • SHISHI_OUTPUTTYPE_STDERR and SHISHI_OUTPUTTYPE_SYSLOG are the two that actually direct text somewhere: to the console, or to the syslog system. two destinations, both valid, both slaying in their own way ✨

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't gatekeep, report it to <bug-shishi@gnu.org> πŸ’Œ


Copyright Β© 2002-2022 Simon Josefsson.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (translation: share her, remix her, just keep the receipts πŸ’–)


⭐ SEE ALSO ⭐

The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. go read it, it's giving ✨main character documentation✨ iykyk 🧚


shishi 1.0.3 β€” and that's the whole shishi_error_outputtype(3) page, bestie. you ate that. now go log something responsibly πŸ”₯πŸ’