mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
LibJS: Make output_debug_message accept a StringView
This commit is contained in:
parent
e9ab3e5a80
commit
bd2f794873
Notes:
github-actions[bot]
2024-12-04 16:48:27 +00:00
Author: https://github.com/shannonbooth
Commit: bd2f794873
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2727
Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 2 additions and 2 deletions
|
@ -678,7 +678,7 @@ GC::MarkedVector<Value> Console::vm_arguments()
|
|||
return arguments;
|
||||
}
|
||||
|
||||
void Console::output_debug_message(LogLevel log_level, String const& output) const
|
||||
void Console::output_debug_message(LogLevel log_level, StringView output) const
|
||||
{
|
||||
switch (log_level) {
|
||||
case Console::LogLevel::Debug:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue