2025-10-03 16:51:44 +02:00
|
|
|
export function info(text: string, data: unknown = null) {
|
|
|
|
|
if (data) {
|
|
|
|
|
// console.log(`%c ${text}`, 'color: #17a2b8', data);
|
|
|
|
|
} else {
|
|
|
|
|
// console.log(`%c ${text}`, 'color: #17a2b8');
|
|
|
|
|
}
|
2025-09-23 14:18:04 +02:00
|
|
|
}
|
|
|
|
|
|
2025-10-03 16:51:44 +02:00
|
|
|
export function contract(text: string, data: unknown = null) {
|
|
|
|
|
if (data) {
|
|
|
|
|
// console.log(`%c ${text}`, 'color: #8732a8', data);
|
|
|
|
|
} else {
|
|
|
|
|
// console.log(`%c ${text}`, 'color: #8732a8');
|
|
|
|
|
}
|
2025-09-23 14:18:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default {
|
2025-10-03 16:51:44 +02:00
|
|
|
info,
|
|
|
|
|
contract,
|
|
|
|
|
};
|