Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)


[release] simple log format

Recommended Posts


i got the idea from someone else and thought it would be a good idea to release the source code for people who wish to log there fightclass / plugins to be able to help find bugs faster and help people fix problems with there product. enjoy 


using System;
using System.IO;
using robotManager.Helpful;

public class Main : wManager.Plugin.IPlugin
    public void Initialize()
        Log("Hello, welcome to pornhub.");

    public void Dispose()

    public void Settings()

    private void Log(String lines)
        string logpath = Path.Combine(Environment.CurrentDirectory, @"Plugins\FileName\logs\", "Logger" + DateTime.Now + ".txt");

            System.IO.StreamWriter file = new System.IO.StreamWriter(logpath, true);
            file.WriteLine(lines + "\n");
        catch (Exception e)
            Logging.Write("[Logger] Error logging" + e);



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...