mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
LibCore: Add a standard error stream getter
This commit is contained in:
parent
800bcb9965
commit
f740667fa1
Notes:
sideshowbarker
2024-07-18 17:22:46 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/f740667fa11 Pull-request: https://github.com/SerenityOS/serenity/pull/7395 Reviewed-by: https://github.com/linusg
1 changed files with 5 additions and 0 deletions
|
@ -113,6 +113,11 @@ public:
|
|||
return OutputFileStream { Core::File::standard_output() };
|
||||
}
|
||||
|
||||
static OutputFileStream standard_error()
|
||||
{
|
||||
return OutputFileStream { Core::File::standard_error() };
|
||||
}
|
||||
|
||||
static Buffered<OutputFileStream> stdout_buffered()
|
||||
{
|
||||
return Buffered<OutputFileStream> { Core::File::standard_output() };
|
||||
|
|
Loading…
Reference in a new issue