Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/strapi/node_modules/captains-log/lib/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
* Implicit defaults.
* (OPTIONS and OVERRIDES)
*
* @type {Dictionary}
* @api private
*/
module.exports = {
OPTIONS: {
level: 'info',
////////////////////////////////////////////////////////////
// Backwards compatibility:
// (should always be true going forward)
//
// Whether to use additional `inspect` logic
// (if false- just do exactly what `console.log` would do)
inspect: true,
////////////////////////////////////////////////////////////
logLevels: {
silly: 0,
verbose: 1,
info: 2,
blank: 2,
debug: 3,
warn: 4,
error: 5,
crit: 6,
silent: 7
},
globalizeAs: false,
// If defined, uses a prefixTheme as default
prefixTheme: 'traditional',
// Different built-in prefix themes:
prefixThemes: {
traditional: {
silly: ' : ',
verbose: 'verbo: ',
info: ' info: ',
blank: '',
debug: 'debug: ',
warn: ' warn: ',
error: 'error: ',
crit: ' crit: '
},
abbreviated: {
silly: '[~] ',
verbose: '[v] ',
info: '[i] ',
blank: '',
debug: '[d] ',
warn: '[!] ',
error: '[×] ',
crit: '[Ω] '
},
moderate: {
silly: '[silly] ',
verbose: '[verbose] ',
info: ' ',
blank: '',
debug: '[-] ',
warn: '[!] ',
error: '[err] ',
crit: '[CRITICAL] '
},
aligned: {
silly: ' silly | ',
verbose: ' verbose | ',
info: ' info | ',
blank: '',
debug: ' debug | ',
warn: ' warn | ',
error: ' error | ',
crit: 'CRITICAL | '
},
minimalist: {
silly: ' | ',
verbose: ' | ',
info: ' | ',
blank: '',
debug: ' | ',
warn: 'warn: ',
error: 'error: ',
crit: 'CRITICAL: '
},
bubbles: {
silly: ' ',
verbose: '˙˙ ',
info: '˙· ',
blank: '',
debug: '•· ',
warn: 'warn: ',
error: 'error: ',
crit: 'CRITICAL: '
},
flowers: {
silly: ' ',
verbose: '˙˘˙ ',
info: '~%° ',
blank: '',
debug: '~∞%° ',
warn: 'warn: ',
error: 'error: ',
crit: 'CRITICAL: '
}
},
// The `prefixTheme` option is really just shorthand that allows
// for configuring a set of log-level-specific prefix settings.
// If specified, the following, lower-level `prefix` option overrides
// the themes above:
// prefix: '||| '
},
OVERRIDES: {
rc: 'captainslog',
ignoreCLIArgs: false,
// (only used if prefixes are not explicitly set)
colors: {
silly: 'black',
input: 'black',//« uncommon
verbose: 'dimgray',
prompt: 'gray',//« uncommon
info: 'green',
blank: 'white',
data: 'gray',//« uncommon
help: 'cyan',//« uncommon
warn: 'yellow',
debug: 'blue',
error: 'red',
crit: 'bgRed'//« uncommon
}
},
// Log methods to expose
METHODS: ['crit', 'error', 'warn', 'debug', 'info', 'blank', 'verbose', 'silly']
};
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0165 ]-- |