mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
LibJS: Make output_debug_message accept a StringView
This commit is contained in:
committed by
Sam Atkins
parent
e9ab3e5a80
commit
bd2f794873
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user