log from an asynchronous task?

Discussion in 'Plugin Development' started by amitlin14, Jul 8, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    amitlin14

    Can i use the bukkit api for logging(Bukkit.getLogger().log()) inside an asynchronous task?

    if not, is there any other possible way to log from an asynchronous task? maybe System.out.println?

    thanks ^^
     
  2. Offline

    Ivan

    "The Bukkit API, with the exception of the scheduler package, is not thread safe nor guaranteed to be thread safe."
    I'm not too sure but I think it isn't thread safe and System.out.println() doesn't log to a file.
     
Thread Status:
Not open for further replies.

Share This Page