You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.5 KiB
25 lines
1.5 KiB
const log = function(){
|
|
/*
|
|
██████
|
|
███░░███
|
|
░███ ░░░ ████████ ██████ ██████ █████ █████ ████ ████████
|
|
███████ ░░███░░███ ███░░███ ███░░███ ██████████ ███░░ ░░███ ░███ ░░███░░███
|
|
░░░███░ ░███ ░░░ ░███████ ░███████ ░░░░░░░░░░ ░░█████ ░███ ░███ ░███ ░███
|
|
░███ ░███ ░███░░░ ░███░░░ ░░░░███ ░███ ░███ ░███ ░███
|
|
█████ █████ ░░██████ ░░██████ ██████ ░░████████ ████ █████
|
|
░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░ ░░░░░
|
|
|
|
|
|
*/
|
|
};
|
|
|
|
const print_log = ()=>{
|
|
let lines = new String(log);
|
|
lines = lines.substring(lines.indexOf('/*') + 3, lines.lastIndexOf('*/'));
|
|
const co = '\n ©2010-'+new Date().getFullYear()+ ' 飞尚科技';
|
|
|
|
console.log('%c ' + lines + co, 'color:#3af');
|
|
|
|
};
|
|
|
|
export default print_log;
|