react-native-ajora
Version:
The most complete AI agent UI for React Native
12 lines (8 loc) • 429 B
text/typescript
const styleString = (color: string) => `color: ${color}; font-weight: bold`;
const headerLog = "%c[react-native-ajora]";
export const info = (...args: unknown[]) =>
console.log(headerLog, styleString("blue"), ...args);
export const warning = (...args: unknown[]) =>
console.log(headerLog, styleString("orange"), ...args);
export const error = (...args: unknown[]) =>
console.log(headerLog, styleString("red"), ...args);