migrating-ravens / RavenMigrations

A small migrations framework to help you manage your RavenDB Instance.
MIT License
53 stars 24 forks source link

Added ability to pass a custom logger into migrations via the runner. #39

Closed gareththackeray closed 8 years ago

gareththackeray commented 8 years ago

Added Action<string> Log { get; set; } property to MigrationOptions to allow a custom logger to be passed into migrations.

Also added protected void Log(string message); to abstract Migration class which calls the custom logger if one has been specified and Debug.WriteLine otherwise.

absynce commented 8 years ago

Closing in favor of #40.