blob: f090efa514267b8ee46d708e6a0b705d77fc1804 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|