<commit_before>import { ConsoleTarget, RuttaTarget, getLogary, LogLevel } from 'logary'
import browser from '@logary/plugin-browser'
import nextjs from '@logary/plugin-nextjs'
import react from '@logary/plugin-react'

const instance = getLogary({
  minLevel: LogLevel.debug,
  serviceName: 'with-nextjs',
  targets: [
    new ConsoleTarget(),
    new RuttaTarget({
      endpoint: 'https://i.logary.tech',
      disabled: typeof window === 'undefined'
    })
  ]
})

browser(instance)
nextjs(instance)
react(instance)

export default instance<commit_msg>Update logary.ts<commit_after>import { ConsoleTarget, RuttaTarget, getLogary, LogLevel } from 'logary'
import browser from '@logary/plugin-browser'
import nextjs from '@logary/plugin-nextjs'
import react from '@logary/plugin-react'

const instance = getLogary({
  minLevel: LogLevel.debug,
  serviceName: 'with-nextjs',
  targets: [
    new ConsoleTarget(),
    new RuttaTarget({
      endpoint: 'https://i.logary.tech'
    })
  ]
})

browser(instance)
nextjs(instance)
react(instance)

export default instance
{'fraction_non_alphanumeric': 0.12406015037593984, 'fraction_numerical': 0.0, 'mean_word_length': 4.725806451612903, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1067341', 'n_tokens_mistral': 337, 'n_tokens_neox': 332, 'n_words': 82}