This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Sass
|
||||
# A namespace for built-in Loggers.
|
||||
#
|
||||
# @see https://sass-lang.com/documentation/js-api/modules/logger/
|
||||
module Logger
|
||||
module_function
|
||||
|
||||
# A Logger that silently ignores all warnings and debug messages.
|
||||
#
|
||||
# @see https://sass-lang.com/documentation/js-api/variables/logger.silent/
|
||||
def silent
|
||||
Silent
|
||||
end
|
||||
|
||||
# A Logger that silently ignores all warnings and debug messages.
|
||||
module Silent
|
||||
module_function
|
||||
|
||||
def warn(message, options); end
|
||||
|
||||
def debug(message, options); end
|
||||
end
|
||||
|
||||
private_constant :Silent
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user